From ccd0d22df7985d44b2919f58f1491603f69ebd9e Mon Sep 17 00:00:00 2001 From: XFlak Date: Fri, 10 Mar 2023 03:51:14 +0200 Subject: [PATCH] ModMii v7.0.0 Update - 2023-03-10 --- temp/updater.bat | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/temp/updater.bat b/temp/updater.bat index 0e1099d..3efcdeb 100644 --- a/temp/updater.bat +++ b/temp/updater.bat @@ -104,14 +104,14 @@ echo. echo Please Wait... echo. -if exist "%UPDATENAME%%newversion%.zip" del "%UPDATENAME%%newversion%.zip">nul +if exist "%UPDATENAME%.zip" del "%UPDATENAME%.zip">nul start /min /wait support\wget --no-check-certificate -t 3 https://github.com/modmii/modmii.github.io/releases/download/%newversion%/%UPDATENAME%.zip -if not exist "%UPDATENAME%%newversion%.zip" goto:updatefail +if not exist "%UPDATENAME%.zip" goto:updatefail if exist "support\ModMii.bat" ren "support\ModMii.bat" "ModMii-v%currentversion%.bat" if exist "support\ModMiiSkin.bat" ren "support\ModMiiSkin.bat" "ModMiiSkin-v%currentversion%.bat" -support\7za2 x %UPDATENAME%%newversion%.zip -aoa -del %UPDATENAME%%newversion%.zip>nul +support\7za2 x %UPDATENAME%.zip -aoa +del %UPDATENAME%.zip>nul del support\7za2.exe>nul ::patch now too instead of later @@ -178,18 +178,18 @@ taskkill /im ModMiiSkin.exe /f >nul -if exist "%UPDATENAME%%newversion%.zip" del "%UPDATENAME%%newversion%.zip">nul +if exist "%UPDATENAME%.zip" del "%UPDATENAME%.zip">nul start /min /wait support\wget --no-check-certificate -t 3 https://github.com/modmii/modmii.github.io/releases/download/%newversion%/%UPDATENAME%.zip -if not exist "%UPDATENAME%%newversion%.zip" goto:updatefailskin +if not exist "%UPDATENAME%.zip" goto:updatefailskin start support\wizapp2.exe PB UPDATE 50 if exist "support\ModMii.bat" ren "support\ModMii.bat" "ModMii-v%currentversion%.bat" if exist "support\ModMiiSkin.bat" ren "support\ModMiiSkin.bat" "ModMiiSkin-v%currentversion%.bat" -support\7za2 x %UPDATENAME%%newversion%.zip -aoa +support\7za2 x %UPDATENAME%.zip -aoa start support\wizapp2.exe PB UPDATE 80 -del %UPDATENAME%%newversion%.zip>nul +del %UPDATENAME%.zip>nul ::patch now too instead of later