Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
serg-macpaw committed Mar 21, 2013
1 parent df64f2c commit a80dcc5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions LLManager.m
Expand Up @@ -33,7 +33,11 @@ + (BOOL)launchAtLogin{
}

+ (void)setLaunchAtLogin:(BOOL)value{
#if __has_feature(objc_arc)
if(!SMLoginItemSetEnabled((__bridge CFStringRef)LLHelperBundleIdentifier, value)){
#else
if(!SMLoginItemSetEnabled((CFStringRef)LLHelperBundleIdentifier, value)){
#endif
NSLog(@"SMLoginItemSetEnabled failed!");
}
}
Expand Down

0 comments on commit a80dcc5

Please sign in to comment.