I make a tweak app works inside backboardd
, so backboardd
has to be restarted after the tweak is installed.I used the script below in DEBIAN
's postinst
to restart backboardd.
It works right for me, but lead to a new problem: it respring automatically at the end of the installation without the "Restart SpringBoard" button click in Cydia
, and for that, there don't show the app icon on the home screen except you reboot the device entirely.What can I do for that?
#!/bin/sh
launchctl stop com.apple.backboardd
Cydia does kill backboardd and you don't have to do it yourself.
http://gitweb.saurik.com/cydia.git/blob/HEAD:/MobileCydia.mm#l5329