Hardcode SideStore's URL scheme for now

This commit is contained in:
nythepegasus
2023-10-20 21:42:36 -04:00
parent 2d7bc51d30
commit e5061acc20

View File

@@ -55,8 +55,7 @@ class BackupAppOperation: ResultOperation<Void>
let appName = installedApp.name
self.appName = appName
guard let altstoreApp = InstalledApp.fetchAltStore(in: context) else { throw OperationError.appNotFound }
let altstoreOpenURL = altstoreApp.openAppURL
let altstoreOpenURL = URL(string: "sidestore://")!
var returnURLComponents = URLComponents(url: altstoreOpenURL, resolvingAgainstBaseURL: false)
returnURLComponents?.host = "appBackupResponse"