mirror of
				https://github.com/cmderdev/cmder.git
				synced 2025-10-31 09:22:15 +08:00 
			
		
		
		
	add executionpolicy bypass
This commit is contained in:
		
							
								
								
									
										2
									
								
								vendor/init.bat
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/init.bat
									
									
									
									
										vendored
									
									
								
							| @@ -540,7 +540,7 @@ if "%CMDER_ALIASES%" == "1" if exist "%CMDER_ROOT%\bin\alias.bat" if exist "%CMD | ||||
| set initialConfig= | ||||
|  | ||||
| if not exist "%CMDER_CONFIG_DIR%\user_init.cmd" ( | ||||
|   powershell -f "%cmder_root%\vendor\bin\create-cmdercfg.ps1" -shell cmd -outfile "%CMDER_CONFIG_DIR%\user_init.cmd" | ||||
|   powershell -executionpolicy bypass -f "%cmder_root%\vendor\bin\create-cmdercfg.ps1" -shell cmd -outfile "%CMDER_CONFIG_DIR%\user_init.cmd" | ||||
|  | ||||
|   if not exist "%CMDER_ROOT%\config\user_init.cmd" ( | ||||
|     %print_error% "Failed to generate Cmder config" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user