mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-27 23:47:39 +01:00
bug-fix: Fix crash when installing apps
This commit is contained in:
@@ -92,7 +92,6 @@ final class AppDelegate: UIResponder, UIApplicationDelegate {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
self.setTintColor()
|
|
||||||
self.setTintColor()
|
self.setTintColor()
|
||||||
self.prepareImageCache()
|
self.prepareImageCache()
|
||||||
|
|
||||||
|
|||||||
@@ -55,7 +55,8 @@ func yeetAppAFC(_ bundleId: String, _ rawBytes: Data) throws {
|
|||||||
#if targetEnvironment(simulator)
|
#if targetEnvironment(simulator)
|
||||||
print("yeetAppAFC(\(bundleId), \(rawBytes)) is no-op on simulator")
|
print("yeetAppAFC(\(bundleId), \(rawBytes)) is no-op on simulator")
|
||||||
#else
|
#else
|
||||||
try minimuxer.yeet_app_afc(bundleId, rawBytes.toRustByteSlice().forRust())
|
let slice = rawBytes.toRustByteSlice()
|
||||||
|
try minimuxer.yeet_app_afc(bundleId, slice.forRust())
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user