add bare script for environment preparation
This commit is contained in:
1 parent
ae159713f6
commit
a513bc4535
2 files changed
+111
No files matched your search
@@ -0,0 +1,12 @@
|
||||
@echo off
|
||||
echo %cmdcmdline% | findstr /i /c:"%~nx0" >NUL && set iscommandline=1
|
||||
echo %PSModulePath% | findstr "%USERPROFILE%" >NUL && set ispowershell=1
|
||||
cd /D "%~dp0"
|
||||
|
||||
echo.
|
||||
|
||||
@powershell -NoProfile -ExecutionPolicy Bypass -Command .\scripts\setup-environment.ps1 %*
|
||||
|
||||
echo.
|
||||
|
||||
IF DEFINED iscommandline IF NOT DEFINED ispowershell pause
|
||||
Reference in new issue
Block a user