Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Side by Side Diff: remoting/host/installer/mac/PrivilegedHelperTools/org.chromium.chromoting.me2me.sh

Issue 10429010: [Chromoting] Add version stamps to Mac installer and host scripts. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | remoting/host/installer/mac/Scripts/keystone_install.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 2
3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # Version = @@VERSION@@
8
7 NAME=org.chromium.chromoting 9 NAME=org.chromium.chromoting
8 CONFIG_DIR=/Library/PrivilegedHelperTools 10 CONFIG_DIR=/Library/PrivilegedHelperTools
9 HOST_EXE=$CONFIG_DIR/$NAME.me2me_host.app/Contents/MacOS/remoting_me2me_host 11 HOST_EXE=$CONFIG_DIR/$NAME.me2me_host.app/Contents/MacOS/remoting_me2me_host
10 PLIST_FILE=$CONFIG_DIR/$NAME.me2me_host.app/Contents/Info.plist 12 PLIST_FILE=$CONFIG_DIR/$NAME.me2me_host.app/Contents/Info.plist
11 ENABLED_FILE=$CONFIG_DIR/$NAME.me2me_enabled 13 ENABLED_FILE=$CONFIG_DIR/$NAME.me2me_enabled
12 CONFIG_FILE=$CONFIG_DIR/$NAME.json 14 CONFIG_FILE=$CONFIG_DIR/$NAME.json
13 15
14 # The exit code returned by 'wait' when a process is terminated by SIGTERM. 16 # The exit code returned by 'wait' when a process is terminated by SIGTERM.
15 SIGTERM_EXIT_CODE=143 17 SIGTERM_EXIT_CODE=143
16 18
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 echo $$ 86 echo $$
85 cat > "$CONFIG_FILE" 87 cat > "$CONFIG_FILE"
86 elif [[ "$1" = "--host-version" ]]; then 88 elif [[ "$1" = "--host-version" ]]; then
87 PlistBuddy -c "Print CFBundleVersion" "$PLIST_FILE" 89 PlistBuddy -c "Print CFBundleVersion" "$PLIST_FILE"
88 elif [[ "$1" = "--run-from-launchd" ]]; then 90 elif [[ "$1" = "--run-from-launchd" ]]; then
89 run_host 91 run_host
90 else 92 else
91 echo $$ 93 echo $$
92 exit 1 94 exit 1
93 fi 95 fi
OLDNEW
« no previous file with comments | « no previous file | remoting/host/installer/mac/Scripts/keystone_install.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698