mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-13 19:19:23 +08:00
e0b9a81c9b
1. installer 2. auto check update on startup 3. auto start on next startup 4. remove command line arguments which breaks squirrel 5. auto generate installer on continue integration
9 lines
439 B
PowerShell
9 lines
439 B
PowerShell
$sourceDirectoryName = $env:APPVEYOR_BUILD_FOLDER + "\Output\Release"
|
|
$fileName = $env:APPVEYOR_BUILD_FOLDER + "\Wox-$env:APPVEYOR_BUILD_VERSION.zip"
|
|
|
|
$currentPath = Convert-Path .
|
|
Write-Host "Current path: " + $currentPath
|
|
Write-Host "Target path: " + $sourceDirectoryName
|
|
|
|
[Reflection.Assembly]::LoadWithPartialName("System.IO.Compression.FileSystem")
|
|
[System.IO.Compression.ZipFile]::CreateFromDirectory($sourceDirectoryName, $fileName) |