From f1c2fcaf2ddfa43e40d2f714dd875395b4dc2a97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Taj=20=E2=80=A2=20forcequit?= <62081155+forcequitOS@users.noreply.github.com> Date: Sat, 2 May 2026 13:22:33 -0400 Subject: [PATCH] Add error code for invalid platform --- TrollStore/TSApplicationsManager.m | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/TrollStore/TSApplicationsManager.m b/TrollStore/TSApplicationsManager.m index f873e37..2de735e 100644 --- a/TrollStore/TSApplicationsManager.m +++ b/TrollStore/TSApplicationsManager.m @@ -91,6 +91,9 @@ extern NSUserDefaults* trollStoreUserDefaults(); break; case 185: errorDescription = @"Failed to sign the app. The CoreTrust bypass returned a non zero status code."; + break; + case 186: + errorDescription = @"The app you tried to install is not supported on this platform. The installation has been prevented as this application will not launch at all if it were to be installed."; } NSError* error = [NSError errorWithDomain:TrollStoreErrorDomain code:code userInfo:@{NSLocalizedDescriptionKey : errorDescription}]; @@ -193,4 +196,4 @@ extern NSUserDefaults* trollStoreUserDefaults(); return spawnRoot(rootHelperPath(), @[@"modify-registration", appPath, newState], nil, nil); } -@end \ No newline at end of file +@end