fix(MDC): revert f1shy's MDC changes and renames

This commit is contained in:
naturecodevoid
2023-06-04 07:19:42 -07:00
parent e7f766095a
commit 8bd8ec8723
12 changed files with 1137 additions and 1163 deletions

View File

@@ -21,10 +21,10 @@ extension CowExploits {
static func patch3AppLimit() async throws {
#if !targetEnvironment(simulator)
let res: PatchError? = await withCheckedContinuation { continuation in
grant_fda { error in
grant_full_disk_access { error in
if let error = error {
continuation.resume(returning: PatchError.NoFDA(error: error.message()))
} else if !installdaemon_patch() {
} else if !patch_installd() {
continuation.resume(returning: PatchError.FailedPatchd)
} else {
continuation.resume(returning: nil)