diff --git a/RootHelper/main.m b/RootHelper/main.m index 61615b2..1662ffb 100644 --- a/RootHelper/main.m +++ b/RootHelper/main.m @@ -775,6 +775,11 @@ int uninstallApp(NSString* appPath, NSString* appId, BOOL useCustomMethod) { LSApplicationProxy* appProxy = [LSApplicationProxy applicationProxyForIdentifier:appId]; + // delete data container + if (appProxy.dataContainerURL) { + [[NSFileManager defaultManager] removeItemAtURL:appProxy.dataContainerURL error:nil]; + } + // delete group container paths [[appProxy groupContainerURLs] enumerateKeysAndObjectsUsingBlock:^(NSString* groupId, NSURL* groupURL, BOOL* stop) {