Skip to content

Commit

Permalink
Updated entitlements
Browse files Browse the repository at this point in the history
Added improved sandbox escape and private directory access entitlements
  • Loading branch information
CreatureSurvive committed May 23, 2021
1 parent da129d1 commit 56fe401
Showing 1 changed file with 46 additions and 13 deletions.
59 changes: 46 additions & 13 deletions Resources/entitlements.plist
Original file line number Diff line number Diff line change
@@ -1,17 +1,50 @@
<?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">
<plist version="1.0">
<dict>
<key>platform-application</key>
<true/>
<key>com.apple.private.security.no-container</key>
<true/>
<!-- Fix GLContext crash when loading custom images -->
<key>com.apple.security.iokit-user-client-class</key>
<array>
<string>AGXDeviceUserClient</string>
<string>IOHDIXControllerUserClient</string>
<string>IOSurfaceRootUserClient</string>
</array>
</dict>
<dict>
<!-- Application Entitlements -->
<key>application-identifier</key>
<string>com.creaturecoding.tweaksettings</string>
<key>platform-application</key>
<true/>

<!-- Sandbox Escape -->
<key>com.apple.private.security.container-required</key>
<false/>
<key>com.apple.private.security.no-container</key>
<true/>
<key>com.apple.private.security.no-sandbox</key>
<true/>
<key>com.apple.private.security.disk-device-access</key>
<true/>
<key>com.apple.private.security.system-application</key>
<true/>

<!-- Allow access to private containers -->
<key>com.apple.private.security.storage.universalaccess</key>
<true/>
<key>com.apple.private.security.storage.containers</key>
<true/>
<key>com.apple.private.security.storage.AppBundles</key>
<true/>
<key>com.apple.private.security.storage.AppDataContainers</key>
<true/>

<!-- Fix EAGLContext crash when loading custom images on iOS 14.x -->
<key>com.apple.security.iokit-user-client-class</key>
<array>
<string>AGXDeviceUserClient</string>
<string>IOHDIXControllerUserClient</string>
<string>IOSurfaceRootUserClient</string>

<!-- Support Apple Pencil -->
<string>IOMobileFramebufferUserClient</string>
</array>

<!-- Allow FaceID usage within the app -->
<key>com.apple.private.tcc.allow</key>
<array>
<string>kTCCServiceFaceID</string>
</array>
</dict>
</plist>

0 comments on commit 56fe401

Please sign in to comment.