This commit is contained in:
opa334 2022-12-01 23:21:39 +01:00
parent 030ab8fd58
commit 617bc045d4
6 changed files with 7 additions and 12 deletions

View File

@ -1,6 +1,6 @@
Package: com.opa334.trollstoreroothelper Package: com.opa334.trollstoreroothelper
Name: trollstoreroothelper Name: trollstoreroothelper
Version: 1.4.4 Version: 1.4.5
Architecture: iphoneos-arm Architecture: iphoneos-arm
Description: An awesome tool of some sort!! Description: An awesome tool of some sort!!
Maintainer: opa334 Maintainer: opa334

View File

@ -906,11 +906,7 @@ int installTrollStore(NSString* pathToTar)
void refreshAppRegistrations(BOOL system) 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 // 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 // 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"]) } else if([cmd isEqualToString:@"refresh-all"])
{ {
cleanRestrictions(); cleanRestrictions();
refreshAppRegistrations(NO); // <- fix app permissions resetting //refreshAppRegistrations(NO); // <- fixes app permissions resetting, causes apps to move around on home screen, so I had to disable it
sleep(5); // <- fix app permission fix causing apps to move on home screen (?)
[[LSApplicationWorkspace defaultWorkspace] _LSPrivateRebuildApplicationDatabasesForSystemApps:YES internal:YES user:YES]; [[LSApplicationWorkspace defaultWorkspace] _LSPrivateRebuildApplicationDatabasesForSystemApps:YES internal:YES user:YES];
refreshAppRegistrations(YES); refreshAppRegistrations(YES);
killall(@"backboardd", YES); killall(@"backboardd", YES);

View File

@ -52,7 +52,7 @@
<string>iPhoneOS</string> <string>iPhoneOS</string>
</array> </array>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>1.4.4</string> <string>1.4.5</string>
<key>LSRequiresIPhoneOS</key> <key>LSRequiresIPhoneOS</key>
<true/> <true/>
<key>UIDeviceFamily</key> <key>UIDeviceFamily</key>

View File

@ -1,6 +1,6 @@
Package: com.opa334.trollstorehelper Package: com.opa334.trollstorehelper
Name: TrollStore Helper Name: TrollStore Helper
Version: 1.4.4 Version: 1.4.5
Architecture: iphoneos-arm Architecture: iphoneos-arm
Description: Helper utility to install and manage TrollStore! Description: Helper utility to install and manage TrollStore!
Maintainer: opa334 Maintainer: opa334

View File

@ -50,7 +50,7 @@
<string>iPhoneOS</string> <string>iPhoneOS</string>
</array> </array>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>1.4.4</string> <string>1.4.5</string>
<key>LSRequiresIPhoneOS</key> <key>LSRequiresIPhoneOS</key>
<true/> <true/>
<key>UIDeviceFamily</key> <key>UIDeviceFamily</key>

View File

@ -1,6 +1,6 @@
Package: com.opa334.trollstore Package: com.opa334.trollstore
Name: TrollStore Name: TrollStore
Version: 1.4.4 Version: 1.4.5
Architecture: iphoneos-arm Architecture: iphoneos-arm
Description: An awesome application! Description: An awesome application!
Maintainer: opa334 Maintainer: opa334