Update install-windows.bat to not exit command prompt on error (#37)

The '/b' switch will exit the current script, but not close the command prompt.
This commit is contained in:
maedtb
2024-07-01 16:16:12 -04:00
committed by GitHub
parent 2387fc20b2
commit 4f07f74e7d

View File

@@ -5,13 +5,13 @@ cd /d "%~dp0"
if exist SwarmUI ( if exist SwarmUI (
echo SwarmUI is already installed in this folder. If this is incorrect, delete the 'SwarmUI' folder and try again. echo SwarmUI is already installed in this folder. If this is incorrect, delete the 'SwarmUI' folder and try again.
pause pause
exit exit /b
) )
if exist SwarmUI.sln ( if exist SwarmUI.sln (
echo SwarmUI is already installed in this folder. If this is incorrect, delete 'SwarmUI.sln' and try again. echo SwarmUI is already installed in this folder. If this is incorrect, delete 'SwarmUI.sln' and try again.
pause pause
exit exit /b
) )
winget install Microsoft.DotNet.SDK.8 --accept-source-agreements --accept-package-agreements winget install Microsoft.DotNet.SDK.8 --accept-source-agreements --accept-package-agreements