mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
Supports not including get-task-allow entitlement in source JSON if value is false
This commit is contained in:
@@ -271,6 +271,11 @@ private extension VerifyAppOperation
|
|||||||
// Filter out ignored entitlements.
|
// Filter out ignored entitlements.
|
||||||
allEntitlements = allEntitlements.filter { !ALTEntitlement.ignoredEntitlements.contains($0) }
|
allEntitlements = allEntitlements.filter { !ALTEntitlement.ignoredEntitlements.contains($0) }
|
||||||
|
|
||||||
|
if let isDebuggable = app.entitlements[.getTaskAllow] as? Bool, !isDebuggable
|
||||||
|
{
|
||||||
|
// App has `get-task-allow` entitlement but the value is false, so remove from allEntitlements.
|
||||||
|
allEntitlements.remove(.getTaskAllow)
|
||||||
|
}
|
||||||
|
|
||||||
// Privacy
|
// Privacy
|
||||||
let allPrivacyPermissions = ([app] + app.appExtensions).flatMap { (app) in
|
let allPrivacyPermissions = ([app] + app.appExtensions).flatMap { (app) in
|
||||||
|
|||||||
Reference in New Issue
Block a user