rm the saved/ipwndfu folder on update

This commit is contained in:
LukeZGD 2024-08-31 09:50:57 +08:00
parent 3426a4d4b8
commit a863a7a7f1

View File

@ -471,7 +471,7 @@ version_update() {
if [[ $device_sudoloop == 1 ]]; then
sudo rm -rf resources/
fi
rm -r resources/ 2>/dev/null
rm -r resources/ saved/ipwndfu/ 2>/dev/null
unzip -q tmp$$/latest.zip -d .
cp tmp$$/firstrun resources 2>/dev/null
pushd "$(dirname "$0")/tmp$$" >/dev/null