TrollStore icon indicating copy to clipboard operation
TrollStore copied to clipboard

Arm developer mode if needed

Open dhinakg opened this issue 1 year ago • 2 comments

TODO:

  • [ ] Better description for the alert popup
  • [ ] Make the reboot button work
  • [ ] Add button to turn on developer mode in settings

I also added whether the app requires developer mode on or not in the app info section. Feel free to remove it if you wish

  • Maybe hide this on iOS 15 and below

dhinakg avatar Dec 01 '23 01:12 dhinakg

There's more entitlements that require dev mode than just get-task-allow. Also keep fallback entitlements in mind.

opa334 avatar Dec 01 '23 17:12 opa334

There's more entitlements that require dev mode than just get-task-allow.

Fixed, based on Jonathan Levin's slides.

Also keep fallback entitlements in mind.

The code in RootHelper already takes care of this, but I forgot about the app info section, which doesn't account for it.

Do you have a preference as to keeping the developer mode indicator that I added into the app info section? If not, I'll just remove it; it was useful for development, but on second thought, it's not very useful for the end user.

dhinakg avatar Dec 03 '23 04:12 dhinakg

This should be good to go now. The two ways to trigger enabling developer mode if it's off are:

  • Installing an app that requires developer mode
  • Pressing the button at the top of settings (still under the update version button though)

dhinakg avatar Dec 30 '23 19:12 dhinakg