Skip to content

Commit a568f74

Browse files
author
Mike McFadden
committed
Fixed a bug with the System app disappearing
Or at least I think I did. It doesn’t SEEM to disappear anymore.
1 parent 23c1247 commit a568f74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Loading/AppDelegate.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ - (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
517517
}
518518
}
519519

520-
if (!app_used) [apps removeObject:app];
520+
if (!app_used && ![app.path isEqualToString:@"System"]) [apps removeObject:app];
521521
}
522522
} else if (!loading && process.animate && process.app.animate && cur_time - process.updated < LOADING_TIME && process.app != nil && (![process.app.path isEqualToString:@"System"] || ![process.path hasSuffix:@"/discoveryd"])) {
523523
loading = YES;

0 commit comments

Comments
 (0)