Add one-click installers for admin and user batch scripts
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
65a5780e02
commit
f8d02dfc70
9 files changed
+91
-20
No files matched your search
@@ -5,14 +5,14 @@ title Install NSIS
|
||||
fltmc >nul 2>&1
|
||||
if errorlevel 1 (
|
||||
echo Please right-click this file and choose "Run as administrator".
|
||||
pause
|
||||
if not defined INSTALL_ALL pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
where winget.exe >nul 2>&1
|
||||
if errorlevel 1 (
|
||||
echo winget was not found.
|
||||
pause
|
||||
if not defined INSTALL_ALL pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
@@ -28,5 +28,5 @@ if "%RC%"=="0" (
|
||||
) else (
|
||||
echo winget exited with code %RC%.
|
||||
)
|
||||
pause
|
||||
if not defined INSTALL_ALL pause
|
||||
exit /b %RC%
|
||||
Reference in new issue
Block a user