Explorar o código

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

svn:r14368
Andrew Lewman %!s(int64=17) %!d(string=hai) anos
pai
achega
c5c856b295
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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