Update update.sh

This commit is contained in:
dami 2026-07-09 14:46:26 +08:00
parent ddb5e0285b
commit cd427dcbf3
1 changed files with 2 additions and 1 deletions

View File

@ -89,7 +89,8 @@ if [ ! -d $TARGET_DIR ]; then
mkdir -p $TARGET_DIR
fi
cd $TARGET_DIR && rm -rf app
cd $TARGET_DIR && rm -rf app.bak
cd $TARGET_DIR && mw app app.bak
unzip $DOWNLOAD_FILE -d $TARGET_DIR
echo "TARGET_DIR:"$TARGET_DIR
if [ ! -f $TARGET_DIR/app ];then