mirror of
https://github.com/netchx/netch.git
synced 2026-03-28 18:59:46 +08:00
Update scripts and fix build
This commit is contained in:
19
scripts/extract.ps1
Normal file
19
scripts/extract.ps1
Normal file
@@ -0,0 +1,19 @@
|
||||
param (
|
||||
[string]
|
||||
$name,
|
||||
|
||||
[string]
|
||||
$address
|
||||
)
|
||||
|
||||
try
|
||||
{
|
||||
Expand-Archive -Force -Path $name -DestinationPath $address
|
||||
}
|
||||
catch
|
||||
{
|
||||
Write-Host "Extract $name failed"
|
||||
exit 1
|
||||
}
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user