[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[vidalia-svn] r3930: Add a script to install Torbutton that the user can double-c (vidalia/trunk/pkg/osx)



Author: edmanm
Date: 2009-07-01 20:27:50 -0400 (Wed, 01 Jul 2009)
New Revision: 3930

Added:
   vidalia/trunk/pkg/osx/InstallTorbutton.scpt.in
Log:

Add a script to install Torbutton that the user can double-click and run from
the drag-and-drop OS X installer.


Added: vidalia/trunk/pkg/osx/InstallTorbutton.scpt.in
===================================================================
--- vidalia/trunk/pkg/osx/InstallTorbutton.scpt.in	                        (rev 0)
+++ vidalia/trunk/pkg/osx/InstallTorbutton.scpt.in	2009-07-02 00:27:50 UTC (rev 3930)
@@ -0,0 +1,22 @@
+--
+--  $Id$
+-- 
+--  This file is part of Vidalia, and is subject to the license terms in the
+--  LICENSE file, found in the top level directory of this distribution. If 
+--  you did not receive the LICENSE file with this file, you may obtain it
+--  from the Vidalia source package distributed by the Vidalia Project at
+--  http://www.vidalia-project.net/. No part of Vidalia, including this file,
+--  may be copied, modified, propagated, or distributed except according to
+--  the terms described in the LICENSE file.
+--
+
+try
+  set p to path to me
+  set p to POSIX path of p
+  do shell script "open -a Firefox " & quoted form of p & "@TORBUTTON_XPI_FILENAME@"
+on error errStr
+  display dialog 
+    "We were unable to install Torbutton. Please make sure Firefox is installed and try again."
+    buttons {"OK"}
+end try
+


Property changes on: vidalia/trunk/pkg/osx/InstallTorbutton.scpt.in
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native