Files

10 lines
251 B
Batchfile

@echo off
setlocal
set "CHORUS_SHELL=pwsh.exe"
where "%CHORUS_SHELL%" >nul 2>nul
if errorlevel 1 set "CHORUS_SHELL=powershell.exe"
"%CHORUS_SHELL%" -NoLogo -NoProfile -ExecutionPolicy Bypass -File "%~dp0chorus-all.ps1" start %*
exit /b %ERRORLEVEL%