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

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

Issue 9958083: Initial version of the Chromoting installer for Mac. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: remoting/host/installer/mac/PrivilegedHelperTools/org.chromium.chromoting.me2me.sh
===================================================================
--- remoting/host/installer/mac/PrivilegedHelperTools/org.chromium.chromoting.me2me.sh (revision 0)
+++ remoting/host/installer/mac/PrivilegedHelperTools/org.chromium.chromoting.me2me.sh (working copy)
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+CONFIG_DIR=/Library/PrivilegedHelperTools
+HOST_EXE=$CONFIG_DIR/org.chromium.chromoting.me2me_host
Lambros 2012/04/03 00:49:17 Maybe add NAME=org.chromium.chromoting and use it
garykac 2012/04/09 19:04:16 Done.
+ENABLED_FILE=$CONFIG_DIR/org.chromium.chromoting.me2me_enabled
+
+if [ "$1" = "--disable" ]; then
+ echo $$
Lambros 2012/04/03 00:49:17 Please could you add a comment before the first "e
garykac 2012/04/09 19:04:16 Done.
+ rm -f "$ENABLED_FILE"
+elif [ "$1" = "--enable" ]; then
+ echo $$
+ touch "$ENABLED_FILE"
+else
+ exec "$HOST_EXE" \
+ --auth-config="$CONFIG_DIR/org.chromium.chromoting.json" \
+ --host-config="$CONFIG_DIR/org.chromium.chromoting.json"
+fi
Property changes on: remoting/host/installer/mac/PrivilegedHelperTools/org.chromium.chromoting.me2me.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+LF
\ No newline at end of property

Powered by Google App Engine
This is Rietveld 408576698