This commit is contained in:
opa334
2022-11-29 23:46:01 +01:00
parent c572b1b84c
commit 67ec5ff14f
8 changed files with 49 additions and 33 deletions
+1 -1
View File
@@ -329,7 +329,7 @@ extern NSUserDefaults* trollStoreUserDefaults(void);
{
if(appProxy.installed && !appProxy.restricted)
{
if([appProxy.bundleURL.path hasPrefix:@"/private/var/containers"])
if([[NSFileManager defaultManager] fileExistsAtPath:[@"/System/Library/AppSignatures" stringByAppendingPathComponent:appProxy.bundleIdentifier]])
{
NSURL* trollStoreMarkURL = [appProxy.bundleURL.URLByDeletingLastPathComponent URLByAppendingPathComponent:@"_TrollStore"];
if(![trollStoreMarkURL checkResourceIsReachableAndReturnError:nil])