|
@@ -363,7 +363,12 @@
|
|
|
[workspace _LSClearSchemaCaches]; //may or may not be necessary
|
|
|
[workspace _LSPrivateRebuildApplicationDatabasesForSystemApps:YES internal:YES user:YES];
|
|
|
[workspace _LSPrivateSyncWithMobileInstallation];
|
|
|
- [workspace invalidateIconCache:nil];
|
|
|
+ if ([workspace respondsToSelector:@selector(invalidateIconCache:)]){
|
|
|
+ NSLog(@"invalidate icon cache");
|
|
|
+ [workspace invalidateIconCache:nil];
|
|
|
+ } else {
|
|
|
+ NSLog(@"## dont invalidate icon cache??");
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
[mutableWhiteList writeToFile:whitelistFile atomically:YES];
|
|
@@ -419,7 +424,9 @@
|
|
|
|
|
|
//[@"science" writeToFile:@"/var/mobile/Library/Preferences/itshappening" atomically:YES encoding:NSUTF8StringEncoding error:nil];
|
|
|
|
|
|
- [NSTask launchedTaskWithLaunchPath:whichKill arguments:@[@"-9", @"PineBoard", @"HeadBoard", @"lsd", @"installd"]];
|
|
|
+ [NSTask launchedTaskWithLaunchPath:whichKill arguments:@[@"-9", @"backboardd"]];
|
|
|
+
|
|
|
+ //[NSTask launchedTaskWithLaunchPath:whichKill arguments:@[@"-9", @"PineBoard", @"HeadBoard", @"lsd", @"installd"]];
|
|
|
});
|
|
|
|
|
|
}
|
|
@@ -815,7 +822,8 @@
|
|
|
|
|
|
//[@"science" writeToFile:@"/var/mobile/Library/Preferences/itshappening" atomically:YES encoding:NSUTF8StringEncoding error:nil];
|
|
|
|
|
|
- [NSTask launchedTaskWithLaunchPath:whichKill arguments:@[@"-9", @"PineBoard", @"HeadBoard", @"lsd"]];
|
|
|
+ [NSTask launchedTaskWithLaunchPath:whichKill arguments:@[@"-9", @"backboardd"]];
|
|
|
+ //[NSTask launchedTaskWithLaunchPath:whichKill arguments:@[@"-9", @"PineBoard", @"HeadBoard", @"lsd"]];
|
|
|
}
|
|
|
});
|
|
|
|