Skip to content

Commit

Permalink
Formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hjuutilainen committed Oct 29, 2020
1 parent 51e8385 commit 0d0b14a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions bigsurblocker/main.m
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,11 @@ - (void)applicationDidFinishLaunching:(NSNotification *)notification {
NSUserDefaults *userDefaults = [[NSUserDefaults alloc] initWithSuiteName:@"com.hjuutilainen.bigsurblocker"];

NSArray *bundleIDsToBlock = [userDefaults arrayForKey:@"bundleIDsToBlock"];

if (!bundleIDsToBlock) {
bundleIDsToBlock = @[
@"com.apple.InstallAssistant.BigSur",
@"com.apple.InstallAssistant.Seed.macOS1016Seed1",
];
bundleIDsToBlock = @[
@"com.apple.InstallAssistant.BigSur",
@"com.apple.InstallAssistant.Seed.macOS1016Seed1",
];
}
if ([bundleIDsToBlock containsObject:bundleID]) {
NSLog(@"Detected macOS installer app launch");
Expand Down

0 comments on commit 0d0b14a

Please sign in to comment.