Merge pull request #809 from SideStore/junepark678/feat/updatealtsign

Add entitlements and other things
This commit is contained in:
June Park
2024-12-24 19:29:39 +09:00
committed by GitHub
3 changed files with 5 additions and 4 deletions

View File

@@ -6,8 +6,7 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/SideStore/AltSign",
"state" : {
"branch" : "master",
"revision" : "68c82b3b9ea05a2fbc08b3df8d3126f75252eb93"
"revision" : "4323ff794e600ce1759cb6ea57275e13b7ea72f2"
}
},
{

View File

@@ -1141,7 +1141,7 @@ private extension AppManager
}
}
private func _install(_ app: AppProtocol, operation appOperation: AppOperation, group: RefreshGroup, context: InstallAppOperationContext? = nil, additionalEntitlements: [ALTEntitlement: Any] = [.increasedDebuggingMemoryLimit: ALTEntitlement.increasedDebuggingMemoryLimit, .increasedMemoryLimit: ALTEntitlement.increasedMemoryLimit], cacheApp: Bool = true, completionHandler: @escaping (Result<InstalledApp, Error>) -> Void) -> Progress
private func _install(_ app: AppProtocol, operation appOperation: AppOperation, group: RefreshGroup, context: InstallAppOperationContext? = nil, additionalEntitlements: [ALTEntitlement: Any] = [.increasedDebuggingMemoryLimit: ALTEntitlement.increasedDebuggingMemoryLimit, .increasedMemoryLimit: ALTEntitlement.increasedMemoryLimit, .extendedVirtualAddressing: ALTEntitlement.extendedVirtualAddressing], cacheApp: Bool = true, completionHandler: @escaping (Result<InstalledApp, Error>) -> Void) -> Progress
{
let progress = Progress.discreteProgress(totalUnitCount: 100)

View File

@@ -363,7 +363,9 @@ extension FetchProvisioningProfilesOperation
}
}
if updateFeatures
appID.entitlements = entitlements
if updateFeatures || true
{
let appID = appID.copy() as! ALTAppID
appID.features = features