KirovAir / delectra

An uninstaller script for Coolstars' Electra iOS 11.0 - 11.1.2 jailbreak.
149 stars 43 forks source link

Let the script delete itself #16

Closed fanckush closed 5 years ago

fanckush commented 6 years ago

Shouldn't the script delete itself after everything is successful?

Patrickk17 commented 6 years ago

If the script deleted itself that would leave rm left over since the script would stop before it could delete rm; and if you made the script delete itself after it deletes rm it wouldn’t work since rm wouldn’t exist

KirovAir commented 5 years ago

If you place it in the /electra dir it will delete itself. :)

fanckush commented 5 years ago

Cool, but shouldn't that be the default location then?

KirovAir commented 5 years ago

It's in the readme:

Put unjailbreak.sh on your phone. I'd recommend putting it in /electra so it will be removed by itself