mirror of
				https://github.com/cmderdev/cmder.git
				synced 2025-10-31 01:12:11 +08:00 
			
		
		
		
	Support spaces in package names to extract
This commit is contained in:
		| @@ -28,7 +28,7 @@ function Delete-Existing ($path) { | ||||
| } | ||||
|  | ||||
| function Extract-Archive ($source, $target) { | ||||
|     Invoke-Expression "7z x -y -o$($target) '$source' > `$null" | ||||
|     Invoke-Expression "7z x -y -o`"$($target)`" `"$source`"  > `$null" | ||||
|     if ($lastexitcode -ne 0) { | ||||
|         Write-Error "Extracting of $source failied" | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user