Skip to content

Commit

Permalink
Add a comment
Browse files Browse the repository at this point in the history
svn path=/trunk/boinc/; revision=25510
  • Loading branch information
Charlie Fenton committed Mar 29, 2012
1 parent c53d4ca commit c57ddb6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion mac_installer/PostInstall.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1414,8 +1414,12 @@ OSErr UpdateAllVisibleUsers(long brandID)
deleteLoginItem = true;
}

// Set login item for this user
// Set login item for this user
if (OSVersion == 0x1070) {
// LoginItemAPI.c does not set hidden property for login items
// under OS 10.7.0, so use AppleScript instead to prevent Lion
// from opening BOINC windows at system startup. This was
// apparently fixed in OS 10.7.1.
printf("[2] calling SetLoginItemOSAScript for user %s, euid = %d, deleteLoginItem = %d\n",
pw->pw_name, geteuid(), deleteLoginItem);
fflush(stdout);
Expand Down

0 comments on commit c57ddb6

Please sign in to comment.