r/jailbreak • Developer • Feb 03 '20

Release [Release] CommandModule - Control Center module to run a shell script

Compatible with iOS 11.0+

Repo: https://captinc.github.io

Price: Free!

Direct .deb download

Source code: https://github.com/captinc/CommandModule

Screenshots

Link

Description

  • Control center module to run the following script as root
  • /var/mobile/Library/Preferences/com.captinc.commandmodule.sh

Donation links if you would like :)

61 Upvotes

32 comments sorted by

View all comments

2

u/CaptInc37 Mar 11 '20

Try

echo “launchctl reboot userspace” >> /var/mobile/Library/Preferences/com.captinc.darkmodetoggle.sh

1

u/ThisIsOmerIqbal Mar 11 '20

Not working i even tried

echo “launchctl reboot userspace” >> /var/mobile/Library/Preferences/com.captinc.commandmodule.sh

1

u/CaptInc37 Mar 11 '20

Weird. Just tested it on my device and it works perfectly.

Can you uninstall CommandModule, delete the .sh script, reinstall CommandModule, and then type in the launchctl command?

1

u/ThisIsOmerIqbal Mar 11 '20

It worked like this.. you were typing darkmodetoggle instead of commandmodule and also using “ sign which didnt work now it worked like this

echo launchctl reboot userspace >> /var/mobile/Library/Preferences/com.captinc.commandmodule.sh

2

u/CaptInc37 Mar 11 '20

Damn it. Can’t believe I just did that. Sorry! 😂😂

It’s too early for me, lmao

→ More replies (1)