add environment setup script

This commit is contained in:
2026-07-02 10:18:02 +02:00
parent e282ab8576
commit c5db2f3ae9
2 changed files with 54 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
@echo off
echo %cmdcmdline% | findstr /i /c:"%~nx0" >NUL && set iscommandline=1
echo %PSModulePath% | findstr /i /c:"%USERPROFILE%" >NUL && set ispowershell=1
cd /D "%~dp0"
echo.
@pwsh -NoProfile -ExecutionPolicy Bypass -Command .\scripts\setup-environment.ps1 %*
echo.
IF DEFINED iscommandline IF NOT DEFINED ispowershell pause