mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-10 09:49:12 +08:00
add bypass
This commit is contained in:
parent
f1e2fb5697
commit
e0b694324c
2
vendor/init.bat
vendored
2
vendor/init.bat
vendored
@ -551,7 +551,7 @@ if defined CMDER_USER_CONFIG (
|
||||
%print_error% "Failed to generate Cmder config"
|
||||
)
|
||||
) else if not exist "%CMDER_ROOT%\config\user_init.cmd" (
|
||||
powershell -f %cmder_root%\vendor\bin\create-cmdercfg.ps1 -shell cmd -outfile "%CMDER_ROOT%\config\user_init.cmd"
|
||||
powershell -executionpolicy bypass -f %cmder_root%\vendor\bin\create-cmdercfg.ps1 -shell cmd -outfile "%CMDER_ROOT%\config\user_init.cmd"
|
||||
|
||||
if not exist "%CMDER_ROOT%\config\user_init.cmd" (
|
||||
%print_error% "Failed to generate Cmder config"
|
||||
|
Loading…
Reference in New Issue
Block a user