mirror of
				https://github.com/cmderdev/cmder.git
				synced 2025-11-01 01:42:17 +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= | set initialConfig= | ||||||
|  |  | ||||||
| if not exist "%CMDER_CONFIG_DIR%\user_init.cmd" ( | 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" ( |   if not exist "%CMDER_ROOT%\config\user_init.cmd" ( | ||||||
|     %print_error% "Failed to generate Cmder config" |     %print_error% "Failed to generate Cmder config" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user