mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-18 19:23:43 +01:00
Makes AppProtocol.url optional
Allows us to create AnyApp values without a valid file URL.
This commit is contained in:
committed by
Joseph Mattello
parent
50841f5e24
commit
93cf9bf6a9
@@ -39,7 +39,7 @@ class SendAppOperation: ResultOperation<()>
|
||||
guard let resignedApp = self.context.resignedApp else { return self.finish(.failure(OperationError.invalidParameters)) }
|
||||
|
||||
// self.context.resignedApp.fileURL points to the app bundle, but we want the .ipa.
|
||||
let app = AnyApp(name: resignedApp.name, bundleIdentifier: self.context.bundleIdentifier, url: resignedApp.url)
|
||||
let app = AnyApp(name: resignedApp.name, bundleIdentifier: self.context.bundleIdentifier, url: resignedApp.fileURL)
|
||||
let fileURL = InstalledApp.refreshedIPAURL(for: app)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user