mirror of
				https://github.com/cmderdev/cmder.git
				synced 2025-10-31 09:22:15 +08:00 
			
		
		
		
	fix problem with #2756
This commit is contained in:
		
							
								
								
									
										4
									
								
								vendor/profile.ps1
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								vendor/profile.ps1
									
									
									
									
										vendored
									
									
								
							| @@ -18,9 +18,9 @@ if ($ENV:CMDER_USER_CONFIG) { | ||||
| # We do this for Powershell as Admin Sessions because CMDER_ROOT is not being set. | ||||
| if ($null -eq $ENV:CMDER_ROOT) { | ||||
|     if ($ENV:ConEmuDir) { | ||||
|         $ENV:CMDER_ROOT = Resolve-Path $ENV:ConEmuDir + "\..\.." | ||||
|         $ENV:CMDER_ROOT = Resolve-Path($ENV:ConEmuDir + "\..\..") | ||||
|     } else { | ||||
|         $ENV:CMDER_ROOT = Resolve-Path $PSScriptRoot + "\.." | ||||
|         $ENV:CMDER_ROOT = Resolve-Path($PSScriptRoot + "\..") | ||||
|     } | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user