mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2025-01-12 00:09:10 +01:00
rm the saved/ipwndfu folder on update
This commit is contained in:
parent
3426a4d4b8
commit
a863a7a7f1
@ -471,7 +471,7 @@ version_update() {
|
|||||||
if [[ $device_sudoloop == 1 ]]; then
|
if [[ $device_sudoloop == 1 ]]; then
|
||||||
sudo rm -rf resources/
|
sudo rm -rf resources/
|
||||||
fi
|
fi
|
||||||
rm -r resources/ 2>/dev/null
|
rm -r resources/ saved/ipwndfu/ 2>/dev/null
|
||||||
unzip -q tmp$$/latest.zip -d .
|
unzip -q tmp$$/latest.zip -d .
|
||||||
cp tmp$$/firstrun resources 2>/dev/null
|
cp tmp$$/firstrun resources 2>/dev/null
|
||||||
pushd "$(dirname "$0")/tmp$$" >/dev/null
|
pushd "$(dirname "$0")/tmp$$" >/dev/null
|
||||||
|
Loading…
x
Reference in New Issue
Block a user