Skip to content

Commit

Permalink
Updated to v1.0.2
Browse files Browse the repository at this point in the history
Added library validation and media library entitlements
Mimic Preferences app delegate/application to prevent crashing in some tweaks
Fixed a permissions issue preventing settings from loading/saving correctly on Taurine
  • Loading branch information
CreatureSurvive committed May 29, 2021
1 parent 0c2c05f commit d716a67
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 8 deletions.
Binary file not shown.
10 changes: 9 additions & 1 deletion Resources/entitlements.plist
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
<key>platform-application</key>
<true/>

<!-- Library validation -->
<key>dynamic-codesigning</key>
<true/>
<key>com.apple.private.skip-library-validation</key>
<true/>

<!-- Sandbox Escape -->
<key>com.apple.private.security.container-required</key>
<false/>
Expand All @@ -33,6 +39,7 @@
<!-- Fix EAGLContext crash when loading custom images on iOS 14.x -->
<key>com.apple.security.iokit-user-client-class</key>
<array>
<string>IOUserClient</string>
<string>AGXDeviceUserClient</string>
<string>IOHDIXControllerUserClient</string>
<string>IOSurfaceRootUserClient</string>
Expand All @@ -41,10 +48,11 @@
<string>IOMobileFramebufferUserClient</string>
</array>

<!-- Allow FaceID usage within the app -->
<!-- Allow private TCC usage within the app -->
<key>com.apple.private.tcc.allow</key>
<array>
<string>kTCCServiceFaceID</string>
<string>kTCCServiceMediaLibrary</string>
</array>
</dict>
</plist>
4 changes: 2 additions & 2 deletions TweakSettings.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@
INFOPLIST_FILE = tweaksettings/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 1.0.1;
MARKETING_VERSION = 1.0.2;
ONLY_ACTIVE_ARCH = NO;
PRODUCT_BUNDLE_IDENTIFIER = com.creaturecoding.tweaksettings;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down Expand Up @@ -374,7 +374,7 @@
INFOPLIST_FILE = tweaksettings/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 1.0.1;
MARKETING_VERSION = 1.0.2;
PRODUCT_BUNDLE_IDENTIFIER = com.creaturecoding.tweaksettings;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
2 changes: 1 addition & 1 deletion TweakSettings/TSAppDelegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#import <UIKit/UIKit.h>


@interface TSAppDelegate : UIResponder <UIApplicationDelegate>
@interface TSAppDelegate : UIApplication <UIApplicationDelegate>

@property(strong, nonatomic) UIWindow *window;

Expand Down
2 changes: 1 addition & 1 deletion TweakSettings/main.m
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ int main(int argc, char *argv[]) {

}

return UIApplicationMain(argc, argv, nil, appDelegateClassName);
return UIApplicationMain(argc, argv, appDelegateClassName, appDelegateClassName);

}
2 changes: 1 addition & 1 deletion layout/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: com.creaturecoding.tweaksettings
Name: TweakSettings
Depends: firmware (>= 10.0), preferenceloader | com.creaturecoding.preferred
Version: 1.0.1
Version: 1.0.2
Priority: optional
Architecture: iphoneos-arm
Description: Dedicated settings app for tweaks
Expand Down
3 changes: 1 addition & 2 deletions layout/DEBIAN/postinst
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/bin/sh

chown root:wheel /Applications/TweakSettings.app/TweakSettings
chmod 6755 /Applications/TweakSettings.app/TweakSettings
chmod +s /Applications/TweakSettings.app/TweakSettings
chmod 0755 /Applications/TweakSettings.app/TweakSettings

uicache -p /Applications/TweakSettings.app

Expand Down

0 comments on commit d716a67

Please sign in to comment.