Add this code to fun.c
unlink("/Library/TweakInject");
before
kill(cfprefsd_pid, SIGKILL);
around line 350.
Add this sh into /bin
rc.zip
File details
ln -s /usr/lib/TweakInject /Library/TweakInject
rm /etc/apt/sources.list.d/electra.list //to avoid cydia yellow text wrong for multiple config.
killall SpringBoard
Manually run the script to relink tweaks after respring.
Done.
//i tried to use posix_spwn
//but it is not powerfully as it require to run async_wake again
//and it may cause kenrel panic
//i tried to use posix_spwn //but it is not powerfully as it require to run async_wake again //and it may cause kenrel panic