Skip to content

Check CFBundleSupportedPlatforms before installing apps (and a minor spelling fix)#936

Open
forcequitOS wants to merge 4 commits into
opa334:mainfrom
forcequitOS:platform-check
Open

Check CFBundleSupportedPlatforms before installing apps (and a minor spelling fix)#936
forcequitOS wants to merge 4 commits into
opa334:mainfrom
forcequitOS:platform-check

Conversation

@forcequitOS
Copy link
Copy Markdown

I'm not entirely sure if the original behavior was technically intended or not, but I think my change makes sense to prevent users from attempting to install an app that's not at all compatible with iOS (like a tvOS app, watchOS app, etc.), as I just witnessed someone attempt to do this and figured I should try to correct it.

All I'm doing is cross referencing between TrollStore's own CFBundleSupportedPlatforms array and the new app's CFBundleSupportedPlatforms array and looking for a match. Hardcoding to look for iPhoneOS in the new app's CFBundleSupportedPlatforms array would also work sufficiently.

I also fixed a minor spelling issue in the Settings view while I was at it.

Note:
My testing was done on TrollStore Lite, the CoreTrust bypass seemingly wasn't applying correctly when I was compiling it even though it did say "Applied CoreTrust Bypass!" on the signing stage, not sure if it's an issue on my side or not. Regular TrollStore was just crashing at launch on both devices I was testing on.

error_186_new

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant