[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[vidalia-svn] r2112: Allow Vidalia to start for users without a pre-existing logi (trunk/pkg/osx)
Author: phobos
Date: 2007-11-10 21:55:29 -0500 (Sat, 10 Nov 2007)
New Revision: 2112
Modified:
trunk/pkg/osx/TorPostFlight
Log:
Allow Vidalia to start for users without a pre-existing
loginwindow.plist file.
Modified: trunk/pkg/osx/TorPostFlight
===================================================================
--- trunk/pkg/osx/TorPostFlight 2007-11-11 02:49:06 UTC (rev 2111)
+++ trunk/pkg/osx/TorPostFlight 2007-11-11 02:55:29 UTC (rev 2112)
@@ -85,6 +85,7 @@
if [ -d /Applications/Vidalia.app ]; then
if [ -f ~/Library/Preferences/loginwindow.plist ]; then
cp ~/Library/Preferences/loginwindow.plist ~/Library/Preferences/loginwindow.plist.tor-saved
+ else
defaults write loginwindow AutoLaunchedApplicationDictionary -array-add \
'<dict><key>Hide</key><false/><key>Path</key><string>/Applications/Vidalia.app</string></dict>'
fi