From 617bc045d4dbaa0331048cadefb36ff35f085121 Mon Sep 17 00:00:00 2001 From: opa334 Date: Thu, 1 Dec 2022 23:21:39 +0100 Subject: [PATCH] 1.4.5 --- RootHelper/control | 2 +- RootHelper/main.m | 9 ++------- TrollHelper/Resources/Info.plist | 2 +- TrollHelper/control | 2 +- TrollStore/Resources/Info.plist | 2 +- TrollStore/control | 2 +- 6 files changed, 7 insertions(+), 12 deletions(-) diff --git a/RootHelper/control b/RootHelper/control index 546e637..7170492 100644 --- a/RootHelper/control +++ b/RootHelper/control @@ -1,6 +1,6 @@ Package: com.opa334.trollstoreroothelper Name: trollstoreroothelper -Version: 1.4.4 +Version: 1.4.5 Architecture: iphoneos-arm Description: An awesome tool of some sort!! Maintainer: opa334 diff --git a/RootHelper/main.m b/RootHelper/main.m index 37e7a40..2fe6922 100644 --- a/RootHelper/main.m +++ b/RootHelper/main.m @@ -906,11 +906,7 @@ int installTrollStore(NSString* pathToTar) void refreshAppRegistrations(BOOL system) { - // avoid registering TrollStore itself as user ever - if(system) - { - registerPath(trollStoreAppPath(), NO, system); - } + registerPath(trollStoreAppPath(), NO, system); // the reason why there is even an option to register everything as user // is because it fixes an issue where app permissions would reset during an icon cache reload @@ -1162,8 +1158,7 @@ int MAIN_NAME(int argc, char *argv[], char *envp[]) } else if([cmd isEqualToString:@"refresh-all"]) { cleanRestrictions(); - refreshAppRegistrations(NO); // <- fix app permissions resetting - sleep(5); // <- fix app permission fix causing apps to move on home screen (?) + //refreshAppRegistrations(NO); // <- fixes app permissions resetting, causes apps to move around on home screen, so I had to disable it [[LSApplicationWorkspace defaultWorkspace] _LSPrivateRebuildApplicationDatabasesForSystemApps:YES internal:YES user:YES]; refreshAppRegistrations(YES); killall(@"backboardd", YES); diff --git a/TrollHelper/Resources/Info.plist b/TrollHelper/Resources/Info.plist index 841e1f6..5014b3c 100644 --- a/TrollHelper/Resources/Info.plist +++ b/TrollHelper/Resources/Info.plist @@ -52,7 +52,7 @@ iPhoneOS CFBundleVersion - 1.4.4 + 1.4.5 LSRequiresIPhoneOS UIDeviceFamily diff --git a/TrollHelper/control b/TrollHelper/control index 2599b4c..67afa50 100644 --- a/TrollHelper/control +++ b/TrollHelper/control @@ -1,6 +1,6 @@ Package: com.opa334.trollstorehelper Name: TrollStore Helper -Version: 1.4.4 +Version: 1.4.5 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 6dfed0d..049b580 100644 --- a/TrollStore/Resources/Info.plist +++ b/TrollStore/Resources/Info.plist @@ -50,7 +50,7 @@ iPhoneOS CFBundleVersion - 1.4.4 + 1.4.5 LSRequiresIPhoneOS UIDeviceFamily diff --git a/TrollStore/control b/TrollStore/control index 216dd23..71defde 100644 --- a/TrollStore/control +++ b/TrollStore/control @@ -1,6 +1,6 @@ Package: com.opa334.trollstore Name: TrollStore -Version: 1.4.4 +Version: 1.4.5 Architecture: iphoneos-arm Description: An awesome application! Maintainer: opa334