mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-18 11:13:28 +01:00
[AltServer] Supports changing AltJIT timeout via defaults CLI
This commit is contained in:
@@ -137,6 +137,11 @@ private extension JITManager
|
|||||||
}
|
}
|
||||||
arguments += ["--udid", device.identifier]
|
arguments += ["--udid", device.identifier]
|
||||||
|
|
||||||
|
if let timeout = UserDefaults.standard.altJITTimeout
|
||||||
|
{
|
||||||
|
arguments += ["--timeout", String(timeout)]
|
||||||
|
}
|
||||||
|
|
||||||
self.authorization = try Process.runAsAdmin(URL.altjit.path, arguments: arguments, authorization: self.authorization)
|
self.authorization = try Process.runAsAdmin(URL.altjit.path, arguments: arguments, authorization: self.authorization)
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
|
|||||||
Reference in New Issue
Block a user