Skip to content
This repository was archived by the owner on Mar 31, 2023. It is now read-only.

Commit e4b76eb

Browse files
author
brysondev
committed
v2.1.2 - Bump murse version, clean up old murse if it exists.
1 parent 017b52c commit e4b76eb

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

of_install.bat

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,24 +60,30 @@ if not exist %STEAM_REG_PATH%\NUL > nul 2>&1(
6060
)
6161
)
6262

63+
if exist %MURSE_PATH% (
64+
cd %TEMP%
65+
@RD /S /Q %TEMP%\murse
66+
)
67+
6368
if not exist "%MURSE_PATH%murse.exe" (
6469
echo Installing Murse CLI...
6570
echo.
6671
cd %TEMP%
6772
md "murse"
6873
cd "murse"
69-
powershell -Command "(New-Object Net.WebClient).DownloadFile('https://git.sr.ht/~welt/murse/refs/download/v0.3.0/murse-v0.3.0-windows-386.zip', 'murse.zip')"
74+
powershell -Command "(New-Object Net.WebClient).DownloadFile('https://git.sr.ht/~welt/murse/refs/download/v0.3.1/murse-v0.3.1-windows-386.zip', 'murse.zip')"
7075
Call :UnZipFile "%MURSE_PATH%" "%MURSE_PATH%murse.zip"
71-
)
76+
)
7277
goto verify
78+
7379
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
7480
:verify
7581
echo Verifying Murse exists...
7682
cd /D "%MURSE_PATH%"
7783
murse.exe -h
7884

7985
if errorlevel 1 (
80-
echo Murse inaccessable. Please run this script as ADMIN!
86+
echo Murse inaccessable. Please run this script as ADMIN! (Or ensure your antivirus didn't delete the file...)
8187
goto exitmain
8288
)
8389

@@ -102,6 +108,7 @@ if exist %vbs% del /f /q %vbs%
102108
cscript //nologo %vbs%
103109
if exist %vbs% del /f /q %vbs%
104110
goto verify
111+
105112
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
106113
:installOF
107114
echo.

0 commit comments

Comments
 (0)