Supports installing/refreshings apps w/o computer on jailbroken devices

AltStore will use AltDaemon as a local AltServer if it’s installed and running. AltStore remains a regular sandboxed app, but AltDaemon has private entitlements necessary to perform AltServer operations without a computer.
This commit is contained in:
Riley Testut
2020-06-04 19:53:10 -07:00
parent cb4656722a
commit 496aca642c
6 changed files with 131 additions and 78 deletions

View File

@@ -1225,9 +1225,9 @@ private extension AppManager
switch error.code
{
case .deviceNotFound, .lostConnection:
if let server = group.context.server, server.isPreferred || server.isWiredConnection
if let server = group.context.server, server.isPreferred || server.connectionType != .wireless
{
// Preferred server (or wired connection), so report errors normally.
// Preferred server (or not random wireless connection), so report errors normally.
return error
}
else