Browse Source

Ohh, the proper way to start an app from a script is "open".

svn:r14368
Andrew Lewman 17 years ago
parent
commit
c5c856b295
1 changed files with 1 additions and 1 deletions
  1. 1 1
      contrib/osx/TorPostflight

+ 1 - 1
contrib/osx/TorPostflight

@@ -124,6 +124,6 @@ fi
 if [ -f /Applications/Firefox.app/Contents/MacOS/firefox ]; then
   if [ -f $TARGET/torbutton-$TORBUTTON_VERSION.xpi ]; then
 # Open firefox with a prompt to install the torbutton xpi
-      su $USER /Applications/Firefox.app/Contents/MacOS/firefox $TARGET/torbutton-$TORBUTTON_VERSION.xpi
+      su $USER open -a /Applications/Firefox.app $TARGET/torbutton-$TORBUTTON_VERSION.xpi
   fi
 fi