mirror of
				https://github.com/cmderdev/cmder.git
				synced 2025-11-04 03:12:16 +08:00 
			
		
		
		
	use resolve path for input parameters
This commit is contained in:
		@@ -35,6 +35,9 @@ Param(
 | 
			
		||||
    [string]$saveTo = "$PSScriptRoot\..\build"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
$cmderRoot = Resolve-Path $cmderRoot
 | 
			
		||||
$saveTo = Resolve-Path $saveTo
 | 
			
		||||
 | 
			
		||||
. "$PSScriptRoot\utils.ps1"
 | 
			
		||||
$ErrorActionPreference = "Stop"
 | 
			
		||||
Ensure-Executable "7z"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user