8 lines
337 B
Batchfile
8 lines
337 B
Batchfile
@echo off
|
|
chcp 65001 >nul 2>&1
|
|
setlocal DisableDelayedExpansion
|
|
if /i "%~1"=="--help" goto help
|
|
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%~dp0scripts\upgrade.ps1" %* & call exit /b %%ERRORLEVEL%%
|
|
:help
|
|
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%~dp0scripts\upgrade.ps1" -Help & call exit /b %%ERRORLEVEL%%
|