mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-15 12:09:18 +08:00
9 lines
441 B
PowerShell
9 lines
441 B
PowerShell
|
$sourceDirectoryName = $env:APPVEYOR_BUILD_FOLDER + "\Output\Release"
|
||
|
$fileName = $env:APPVEYOR_BUILD_FOLDER + "\Wox-$env:APPVEYOR_BUILD_VERSION.zip"
|
||
|
|
||
|
$current_path = Convert-Path .
|
||
|
Write-Host "Current path: " + $current_path
|
||
|
Write-Host "Target path: " + $sourceDirectoryName
|
||
|
|
||
|
[Reflection.Assembly]::LoadWithPartialName("System.IO.Compression.FileSystem")
|
||
|
[System.IO.Compression.ZipFile]::CreateFromDirectory($sourceDirectoryName, $fileName)
|