Description
-
DO NOT INSTALL ON JAILBREAKS THAT DON'T USE SUBSTRATE!
A hacky workaround to always load Choicy first. Renames Substrate related files, use at your own risk.
On some devices, Substrate does not load tweaks alphabetically, so Choicy cannot load first and therefore not prevent other tweaks from loading.
This package renames /usr/lib/substrate/SubstrateLoader.dylib to SubstrateLoader_orig.dylib, it then places a symlink to /usr/lib/ChoicyLoader.dylib in place of the original file.
ChoicyLoader loads Choicy first and then the SubstrateLoader_orig.dylib file, resulting in Choicy getting loaded first no matter what.
It adds a dpkg trigger to automatically reapply everything when Substrate is updated and also reverts everything when uninstalling.
Version History
-
1.0:
Initial Release -
1.1:
• Support for Choicy 1.2
• Remove support for sbingners substitute (turns out ChoicyLoader is not needed on it)
• Fix uninstallation on unsupported jailbreaks like Chimera (unsupported because it also does not need this workaround) -
1.2:
• Rewritten in plain C for maximum performance
• No longer links against unneeded libraries -
1.2.1:
• Only load Choicy if Substrate would -
1.2.2:
• Also load Crane after Choicy if it is installed -
1.2.3:
• Conflict with Substitute and libhooker because ChoicyLoader is only for Substrate.