2
0
mirror of https://github.com/LukeZGD/Legacy-iOS-Kit.git synced 2025-03-28 04:56:53 +01:00

Update restore.sh

This commit is contained in:
LukeZGD 2023-01-20 22:01:39 +08:00
parent c4f3e60f27
commit 8a2df9638f

@ -30,11 +30,10 @@ clean_and_exit() {
read -s
fi
if [[ $device_sudoloop == 1 ]]; then
rm -rf /tmp/futurerestore /tmp/*.json
sudo rm -rf /tmp/futurerestore /tmp/*.json
fi
rm -rf "$(dirname "$0")/tmp/"* "$(dirname "$0")/iP"*/ "$(dirname "$0")/tmp/"
kill $iproxy_pid $httpserver_pid $sudoloop_pid 2>/dev/null
sudo -k
exit $1
}