Skip to content

Commit d349f57

Browse files
committed
add executionpolicy bypass
1 parent e0aa20a commit d349f57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vendor/init.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ if "%CMDER_ALIASES%" == "1" if exist "%CMDER_ROOT%\bin\alias.bat" if exist "%CMD
540540
set initialConfig=
541541

542542
if not exist "%CMDER_CONFIG_DIR%\user_init.cmd" (
543-
powershell -f "%cmder_root%\vendor\bin\create-cmdercfg.ps1" -shell cmd -outfile "%CMDER_CONFIG_DIR%\user_init.cmd"
543+
powershell -executionpolicy bypass -f "%cmder_root%\vendor\bin\create-cmdercfg.ps1" -shell cmd -outfile "%CMDER_CONFIG_DIR%\user_init.cmd"
544544

545545
if not exist "%CMDER_ROOT%\config\user_init.cmd" (
546546
%print_error% "Failed to generate Cmder config"

0 commit comments

Comments
 (0)