1
0
mirror of https://github.com/opa334/TrollStore.git synced 2025-07-06 08:18:45 +08:00

Update TSAppDelegate.m

This commit is contained in:
a1109471307 2025-07-03 19:00:36 +08:00 committed by GitHub
parent b9c6160905
commit 2d33ae4502
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,9 +1,23 @@
#import "TSAppDelegate.h"
#import "TSRootViewController.h"
#import "TSModuleManager.h"
#import "TSExploitManager.h"
@implementation TSAppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
//
NSString *exploitsPath = [[NSBundle mainBundle] pathForResource:@"Exploits" ofType:nil];
[[TSExploitManager sharedManager] loadExploitDescriptorsFromDirectory:exploitsPath];
//
// id<TSModuleProtocol> exploitModule = [TSExploitModule new];
// [[TSModuleManager sharedManager] registerModule:exploitModule forType:TSModuleTypeExploit];
//
// id<TSModuleProtocol> installModule = [TSInstallationModule new];
// [[TSModuleManager sharedManager] registerModule:installModule forType:TSModuleTypeInstallation];
// ...
return YES;
}(NSDictionary *)launchOptions {
return YES;
}