Detecting the rootlessness of the jailbreak at runtime should be avoided, instead the latest theos and rootless.h should be used.
The only point of this would be to support Xina, and for that the better solution is to just use rootful paths as it correctly binpatches most of them. More obscure paths still need to be redirected manually, but 99% of tweaks do not use these.
Detecting the rootlessness of the jailbreak at runtime should be avoided, instead the latest theos and rootless.h should be used.
The only point of this would be to support Xina, and for that the better solution is to just use rootful paths as it correctly binpatches most of them. More obscure paths still need to be redirected manually, but 99% of tweaks do not use these.