Mac Installer: fix bug launching client when configured as a service

svn path=/trunk/boinc/; revision=20185
This commit is contained in:
Charlie Fenton 2010-01-17 00:44:01 +00:00
parent f48de8625a
commit c19625db3a
2 changed files with 8 additions and 2 deletions

View File

@ -380,7 +380,7 @@ Charlie 13 Jan 2010
- MGR: The fix of 14 Oct 2009 for "initial first connection problem on
startup" caused the Tools menu to be incorrect when switching from
Simple to Advanced View if using an account manager: solve this by
calling pDoc->IsConnected() in CAdvancedFrame::CreateMenu() isntead
calling pDoc->IsConnected() in CAdvancedFrame::CreateMenu() instead
of using bool argument bRPCsSafe. Remove unused bRPCsSafe arg from
CAdvancedFrame::CreateNotebook(), CAdvancedFrame::CreateStatusbar().
- Mac: Update XCode project for ViewNotifications* -> ViewNotices*.
@ -453,3 +453,9 @@ David 15 Jan 2010
edit_email_form.php
locale/templates/
BOINC-Project-Generic.pot
Charlie 16 Jan 2010
- Mac Installer: fix bug launching client when configured as a service.
mac_installer/
PostInstall.cpp

View File

@ -447,7 +447,7 @@ int DeleteReceipt()
if (finalInstallAction == launchWhenDone) {
// If system is set up to run BOINC Client as a daemon using launchd, launch it
// as a daemon and allow time for client to start before launching BOINC Manager.
err = stat("launchctl unload /Library/LaunchDaemons/edu.berkeley.boinc.plist", &sbuf);
err = stat("/Library/LaunchDaemons/edu.berkeley.boinc.plist", &sbuf);
if (err == noErr) {
system("launchctl unload /Library/LaunchDaemons/edu.berkeley.boinc.plist");
i = system("launchctl load /Library/LaunchDaemons/edu.berkeley.boinc.plist");