mirror of
https://github.com/opa334/TrollStore.git
synced 2026-07-02 03:00:39 +08:00
1.3
This commit is contained in:
@@ -52,7 +52,7 @@
|
||||
<string>iPhoneOS</string>
|
||||
</array>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1.2.2</string>
|
||||
<string>1.3</string>
|
||||
<key>LSRequiresIPhoneOS</key>
|
||||
<true/>
|
||||
<key>UIDeviceFamily</key>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#import "TSHRootViewController.h"
|
||||
#import <TSUtil.h>
|
||||
#import <TSPresentationDelegate.h>
|
||||
|
||||
@implementation TSHRootViewController
|
||||
|
||||
@@ -11,6 +12,8 @@
|
||||
- (void)viewDidLoad
|
||||
{
|
||||
[super viewDidLoad];
|
||||
TSPresentationDelegate.presentationViewController = self;
|
||||
|
||||
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(reloadSpecifiers) name:UIApplicationWillEnterForegroundNotification object:nil];
|
||||
|
||||
fetchLatestTrollStoreVersion(^(NSString* latestVersion)
|
||||
@@ -123,9 +126,7 @@
|
||||
[_specifiers addObject:installTrollStoreSpecifier];
|
||||
}
|
||||
|
||||
NSString* executableName = NSBundle.mainBundle.bundleURL.lastPathComponent;
|
||||
NSString* backupExecutableName = [executableName stringByAppendingString:@"_TROLLSTORE_BACKUP"];
|
||||
NSString* backupPath = [[NSBundle.mainBundle.bundleURL.path stringByDeletingLastPathComponent] stringByAppendingPathComponent:backupExecutableName];
|
||||
NSString* backupPath = [safe_getExecutablePath() stringByAppendingString:@"_TROLLSTORE_BACKUP"];
|
||||
if([[NSFileManager defaultManager] fileExistsAtPath:backupPath])
|
||||
{
|
||||
PSSpecifier* uninstallHelperGroupSpecifier = [PSSpecifier emptyGroupSpecifier];
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
Package: com.opa334.trollstorehelper
|
||||
Name: TrollStore Helper
|
||||
Version: 1.2.2
|
||||
Version: 1.3
|
||||
Architecture: iphoneos-arm
|
||||
Description: Helper utility to install and manage TrollStore!
|
||||
Maintainer: opa334
|
||||
|
||||
Reference in New Issue
Block a user