mirror of https://github.com/opa334/TrollStore.git
Add chinese wifi fix to TrollInstaller2
This commit is contained in:
parent
4afc4f37ef
commit
ab6ef76d8e
|
@ -1,3 +1,4 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
<plist version="1.0">
|
<plist version="1.0">
|
||||||
<dict>
|
<dict>
|
||||||
|
@ -31,5 +32,12 @@
|
||||||
<true/>
|
<true/>
|
||||||
<key>com.apple.multitasking.termination</key>
|
<key>com.apple.multitasking.termination</key>
|
||||||
<true/>
|
<true/>
|
||||||
|
<key>com.apple.CommCenter.fine-grained</key>
|
||||||
|
<array>
|
||||||
|
<string>cellular-plan</string>
|
||||||
|
<string>data-usage</string>
|
||||||
|
<string>data-allowed-write</string>
|
||||||
|
<string>preferences-write</string>
|
||||||
|
</array>
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
#import "TSI2AppDelegateNoScene.h"
|
#import "TSI2AppDelegateNoScene.h"
|
||||||
#import "TSI2AppDelegateWithScene.h"
|
#import "TSI2AppDelegateWithScene.h"
|
||||||
#import "TSI2SceneDelegate.h"
|
#import "TSI2SceneDelegate.h"
|
||||||
|
#import "../../Store/TSUtil.h"
|
||||||
#import <objc/runtime.h>
|
#import <objc/runtime.h>
|
||||||
|
|
||||||
extern int rootHelperMain(int argc, char *argv[], char *envp[]);
|
extern int rootHelperMain(int argc, char *argv[], char *envp[]);
|
||||||
|
@ -76,6 +77,7 @@ int main(int argc, char *argv[], char *envp[]) {
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
chineseWifiFixup();
|
||||||
BOOL usesSceneDelegate = sceneDelegateFix();
|
BOOL usesSceneDelegate = sceneDelegateFix();
|
||||||
if(usesSceneDelegate)
|
if(usesSceneDelegate)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue