mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +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]
|
||||
|
||||
if let timeout = UserDefaults.standard.altJITTimeout
|
||||
{
|
||||
arguments += ["--timeout", String(timeout)]
|
||||
}
|
||||
|
||||
self.authorization = try Process.runAsAdmin(URL.altjit.path, arguments: arguments, authorization: self.authorization)
|
||||
}
|
||||
catch
|
||||
|
||||
Reference in New Issue
Block a user