Mac installer: update an obsolete comment

This commit is contained in:
Charlie Fenton 2014-02-26 06:48:49 -08:00
parent 3df677b6bc
commit f8fcf01d1f
1 changed files with 0 additions and 3 deletions

View File

@ -865,9 +865,6 @@ Boolean SetLoginItemOSAScript(long brandID, Boolean deleteLogInItem, char *userN
fprintf(stdout, "Making new login item %s for user %s\n", appName[brandID], userName);
fflush(stdout);
// With wxCocoa 3.0, setting login item with hidden=true seems to prevent BOINC Manager
// from fully starting at login until it is brought to the front, so set hidden=false.
// The logic inside BOINC Manager keeps it hidden anyway (unless not attached to any projects.)
sprintf(cmd, "sudo -u \"%s\" osascript -e 'tell application \"System Events\"' -e 'make new login item at end with properties {path:\"%s\", hidden:true, name:\"%s\"}' -e 'end tell'", userName, appPath[brandID], appName[brandID]);
err = system(cmd);
if (err) {