소스 검색

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

svn:r14368
Andrew Lewman 17 년 전
부모
커밋
c5c856b295
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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