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

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

Issue 10310089: Make me2me_host a Mac bundle (Closed) Base URL: svn://svn.chromium.org/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
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 NAME=org.chromium.chromoting 7 NAME=org.chromium.chromoting
8 CONFIG_DIR=/Library/PrivilegedHelperTools 8 CONFIG_DIR=/Library/PrivilegedHelperTools
9 HOST_EXE=$CONFIG_DIR/$NAME.me2me_host 9 HOST_EXE=$CONFIG_DIR/$NAME.me2me_host.app/Contents/MacOS/remoting_me2me_host
10 ENABLED_FILE=$CONFIG_DIR/$NAME.me2me_enabled 10 ENABLED_FILE=$CONFIG_DIR/$NAME.me2me_enabled
11 CONFIG_FILE=$CONFIG_DIR/$NAME.json 11 CONFIG_FILE=$CONFIG_DIR/$NAME.json
12 12
13 # The exit code returned by 'wait' when a process is terminated by SIGTERM. 13 # The exit code returned by 'wait' when a process is terminated by SIGTERM.
14 SIGTERM_EXIT_CODE=143 14 SIGTERM_EXIT_CODE=143
15 15
16 # Range of exit codes returned by the host to indicate that a permanent error 16 # Range of exit codes returned by the host to indicate that a permanent error
17 # has occurred and that the host should not be restarted. Please, keep these 17 # has occurred and that the host should not be restarted. Please, keep these
18 # constants in sync with remoting/host/constants.h. 18 # constants in sync with remoting/host/constants.h.
19 MIN_PERMANENT_ERROR_EXIT_CODE=2 19 MIN_PERMANENT_ERROR_EXIT_CODE=2
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 elif [[ "$1" = "--enable" ]]; then 78 elif [[ "$1" = "--enable" ]]; then
79 echo $$ 79 echo $$
80 cat > "$CONFIG_FILE" 80 cat > "$CONFIG_FILE"
81 touch "$ENABLED_FILE" 81 touch "$ENABLED_FILE"
82 elif [[ "$1" = "--save-config" ]]; then 82 elif [[ "$1" = "--save-config" ]]; then
83 echo $$ 83 echo $$
84 cat > "$CONFIG_FILE" 84 cat > "$CONFIG_FILE"
85 else 85 else
86 run_host 86 run_host
87 fi 87 fi
OLDNEW
« no previous file with comments | « remoting/host/installer/mac/ChromotingHostService.packproj ('k') | remoting/host/installer/mac/do_signing.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698