From 381e09d87c7eaa1a218824f35311ecc9039239ac Mon Sep 17 00:00:00 2001 From: Huge_Black Date: Tue, 24 Feb 2026 13:58:19 +0800 Subject: [PATCH] bug-fix: Fix crash when installing apps --- AltStore/AppDelegate.swift | 1 - SideStore/MinimuxerWrapper.swift | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AltStore/AppDelegate.swift b/AltStore/AppDelegate.swift index 81c2ff23..e8fb984c 100644 --- a/AltStore/AppDelegate.swift +++ b/AltStore/AppDelegate.swift @@ -92,7 +92,6 @@ final class AppDelegate: UIResponder, UIApplicationDelegate { } } - self.setTintColor() self.setTintColor() self.prepareImageCache() diff --git a/SideStore/MinimuxerWrapper.swift b/SideStore/MinimuxerWrapper.swift index e585dc11..7441fdb0 100644 --- a/SideStore/MinimuxerWrapper.swift +++ b/SideStore/MinimuxerWrapper.swift @@ -55,7 +55,8 @@ func yeetAppAFC(_ bundleId: String, _ rawBytes: Data) throws { #if targetEnvironment(simulator) print("yeetAppAFC(\(bundleId), \(rawBytes)) is no-op on simulator") #else - try minimuxer.yeet_app_afc(bundleId, rawBytes.toRustByteSlice().forRust()) + let slice = rawBytes.toRustByteSlice() + try minimuxer.yeet_app_afc(bundleId, slice.forRust()) #endif }