I make a tweak that works in backboardd, if I just respring after install it, it doesn't work, I have to restart the my iPhone entirely. Are there any other better ways need not restarting device?

有帮助吗?

解决方案

You can execute this in your postinst script if you are installing your tweak as debian package (*.deb)

launchctl stop com.apple.backboardd

Backboard will restart automatically and cydia-substrate should be able to inject your tweak in it.

其他提示

Note: since you say that you're using iOSOpenDev to create your tweaks, there's another option, altho the postinst file works fine, too.

Add another post-install command to the custom build script that iOSOpenDev will have created for your project.

You should already see this under the Target->Build Phases->Run Script:

enter image description here Just add the following line where the arrow is (line 2):

/opt/iOSOpenDev/bin/iosod run -h ${iOSOpenDevDevice} 'su mobile -c uicache'

Note that this requires the UIKit tools package from Cydia to be installed. (to run uicache)

You should also have a user-defined Build Setting setting iOSOpenDevDevice equal to your device's IP address, so the installation can occur via Wi-Fi.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top