diff --git a/RootHelper/control b/RootHelper/control index 866bf85f..dd53bc16 100644 --- a/RootHelper/control +++ b/RootHelper/control @@ -1,6 +1,6 @@ Package: com.opa334.trollstoreroothelper Name: trollstoreroothelper -Version: 1.4.1 +Version: 1.4.2 Architecture: iphoneos-arm Description: An awesome tool of some sort!! Maintainer: opa334 diff --git a/RootHelper/main.m b/RootHelper/main.m index 17875058..c6e92ead 100644 --- a/RootHelper/main.m +++ b/RootHelper/main.m @@ -691,10 +691,13 @@ int installApp(NSString* appPackagePath, BOOL sign, BOOL force, BOOL isTSUpdate) // Get newly installed proxy existingAppProxy = [LSApplicationProxy applicationProxyForIdentifier:appId]; + } - // Mark app as TrollStore app - NSURL* bundleContainerURL = existingAppProxy.bundleURL.URLByDeletingLastPathComponent; - NSURL* trollStoreMarkURL = [bundleContainerURL URLByAppendingPathComponent:@"_TrollStore"]; + // Mark app as TrollStore app + NSURL* bundleContainerURL = existingAppProxy.bundleURL.URLByDeletingLastPathComponent; + NSURL* trollStoreMarkURL = [bundleContainerURL URLByAppendingPathComponent:@"_TrollStore"]; + if(![[NSFileManager defaultManager] fileExistsAtPath:trollStoreMarkURL.path]) + { BOOL marked = [[NSFileManager defaultManager] createFileAtPath:trollStoreMarkURL.path contents:[NSData data] attributes:nil]; if(!marked) { diff --git a/RootHelper/uicache.m b/RootHelper/uicache.m index 9b53d1ed..70fe8bc9 100644 --- a/RootHelper/uicache.m +++ b/RootHelper/uicache.m @@ -3,6 +3,7 @@ #import "CoreServices.h" #import #import "dlfcn.h" +#import // uicache on steroids @@ -93,6 +94,7 @@ void registerPath(char* cPath, int unregister, BOOL system) { if(!cPath) return; NSString* path = [NSString stringWithUTF8String:cPath]; + loadMCMFramework(); LSApplicationWorkspace* workspace = [LSApplicationWorkspace defaultWorkspace]; if(unregister && ![[NSFileManager defaultManager] fileExistsAtPath:path]) diff --git a/TrollHelper/Resources/Info.plist b/TrollHelper/Resources/Info.plist index c041a836..2ea42722 100644 --- a/TrollHelper/Resources/Info.plist +++ b/TrollHelper/Resources/Info.plist @@ -52,7 +52,7 @@ iPhoneOS CFBundleVersion - 1.4.1 + 1.4.2 LSRequiresIPhoneOS UIDeviceFamily diff --git a/TrollHelper/control b/TrollHelper/control index 6e2a07f1..88bf02a7 100644 --- a/TrollHelper/control +++ b/TrollHelper/control @@ -1,6 +1,6 @@ Package: com.opa334.trollstorehelper Name: TrollStore Helper -Version: 1.4.1 +Version: 1.4.2 Architecture: iphoneos-arm Description: Helper utility to install and manage TrollStore! Maintainer: opa334 diff --git a/TrollStore/Resources/Info.plist b/TrollStore/Resources/Info.plist index 7ef32f2b..046f3f5a 100644 --- a/TrollStore/Resources/Info.plist +++ b/TrollStore/Resources/Info.plist @@ -50,7 +50,7 @@ iPhoneOS CFBundleVersion - 1.4.1 + 1.4.2 LSRequiresIPhoneOS UIDeviceFamily diff --git a/TrollStore/control b/TrollStore/control index d37db427..6c1a2417 100644 --- a/TrollStore/control +++ b/TrollStore/control @@ -1,6 +1,6 @@ Package: com.opa334.trollstore Name: TrollStore -Version: 1.4.1 +Version: 1.4.2 Architecture: iphoneos-arm Description: An awesome application! Maintainer: opa334