summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xremoting/host/installer/mac/PrivilegedHelperTools/org.chromium.chromoting.me2me.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/remoting/host/installer/mac/PrivilegedHelperTools/org.chromium.chromoting.me2me.sh b/remoting/host/installer/mac/PrivilegedHelperTools/org.chromium.chromoting.me2me.sh
index 4f607eb..664087b 100755
--- a/remoting/host/installer/mac/PrivilegedHelperTools/org.chromium.chromoting.me2me.sh
+++ b/remoting/host/installer/mac/PrivilegedHelperTools/org.chromium.chromoting.me2me.sh
@@ -7,7 +7,7 @@
NAME=org.chromium.chromoting
CONFIG_DIR=/Library/PrivilegedHelperTools
HOST_EXE=$CONFIG_DIR/$NAME.me2me_host.app/Contents/MacOS/remoting_me2me_host
-PLIST_BASE=$CONFIG_DIR/$NAME.me2me_host.app/Contents/Info
+PLIST_FILE=$CONFIG_DIR/$NAME.me2me_host.app/Contents/Info.plist
ENABLED_FILE=$CONFIG_DIR/$NAME.me2me_enabled
CONFIG_FILE=$CONFIG_DIR/$NAME.json
@@ -84,7 +84,7 @@ elif [[ "$1" = "--save-config" ]]; then
echo $$
cat > "$CONFIG_FILE"
elif [[ "$1" = "--host-version" ]]; then
- defaults read "$PLIST_BASE" CFBundleVersion
+ PlistBuddy -c "Print CFBundleVersion" "$PLIST_FILE"
elif [[ "$1" = "--run-from-launchd" ]]; then
run_host
else