From b50102c53c1e5cd19ed46ba52819cf00a1b106fc Mon Sep 17 00:00:00 2001 From: Ally Founder Date: Mon, 3 Aug 2026 10:31:03 -0400 Subject: [PATCH] fix: Sideloading.x failed to compile - %orig used as nested message receiver [%orig mutableCopy] doesn't survive Logos' macro expansion cleanly (confirmed by an actual Theos build on GitHub Actions: "error: expected identifier"). Split into two statements instead, matching how %orig is used everywhere else in this file. --- Sources/Sideloading.x | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Sources/Sideloading.x b/Sources/Sideloading.x index 8383cea..58e5c3f 100644 --- a/Sources/Sideloading.x +++ b/Sources/Sideloading.x @@ -47,7 +47,8 @@ static BOOL isSelfCall(void) { - (NSDictionary *)infoDictionary { if (!isSelfCall()) return %orig; - NSMutableDictionary *info = [%orig mutableCopy]; + NSDictionary *origInfo = %orig; + NSMutableDictionary *info = [origInfo mutableCopy]; info[@"CFBundleIdentifier"] = DISCORD_BUNDLE_ID; info[@"CFBundleDisplayName"] = DISCORD_NAME; info[@"CFBundleName"] = DISCORD_NAME;