bug-fix: Fix crash when installing apps

This commit is contained in:
Huge_Black
2026-02-24 13:58:19 +08:00
parent aa224f68c7
commit 381e09d87c
2 changed files with 2 additions and 2 deletions

View File

@@ -92,7 +92,6 @@ final class AppDelegate: UIResponder, UIApplicationDelegate {
} }
} }
self.setTintColor()
self.setTintColor() self.setTintColor()
self.prepareImageCache() self.prepareImageCache()

View File

@@ -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
} }