mirror of
https://github.com/cmderdev/cmder.git
synced 2025-01-11 08:49:08 +08:00
Removed unused function
This commit is contained in:
parent
4c1f96c51d
commit
c661b1f300
@ -60,20 +60,6 @@ function Delete-Existing ($path) {
|
|||||||
Remove-Item -Recurse -force $path -ErrorAction SilentlyContinue
|
Remove-Item -Recurse -force $path -ErrorAction SilentlyContinue
|
||||||
}
|
}
|
||||||
|
|
||||||
function Expand-Download{
|
|
||||||
[CmdletBinding()]
|
|
||||||
Param(
|
|
||||||
[psobject]$package
|
|
||||||
)
|
|
||||||
Write-Verbose "Extract $($package.name).tmp"
|
|
||||||
|
|
||||||
# As if 7-zip doesn't have a silent output option. Append > `&null to the end to silence it.
|
|
||||||
# Also silences the error output
|
|
||||||
|
|
||||||
Write-Verbose "Delete downloaded archive: $($package.package)"
|
|
||||||
Remove-Item $package.package
|
|
||||||
}
|
|
||||||
|
|
||||||
# Check for requirements
|
# Check for requirements
|
||||||
Ensure-Exists $sourcesPath
|
Ensure-Exists $sourcesPath
|
||||||
Ensure-Executable "7z"
|
Ensure-Executable "7z"
|
||||||
|
Loading…
Reference in New Issue
Block a user