mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 06:53:47 -07:00
11 lines
295 B
Batchfile
11 lines
295 B
Batchfile
@echo off
|
|
setlocal
|
|
where pwsh >nul 2>nul
|
|
if %errorlevel%==0 (
|
|
pwsh -NoProfile -ExecutionPolicy Bypass -File "%~dp0install_runtime.ps1" %*
|
|
) else (
|
|
powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0install_runtime.ps1" %*
|
|
)
|
|
set "EXIT_CODE=%ERRORLEVEL%"
|
|
endlocal & exit /b %EXIT_CODE%
|