Installer + auto update on startup

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
This commit is contained in:
bao-qian
2016-05-07 22:44:38 +01:00
parent 192e4b8877
commit e0b9a81c9b
15 changed files with 171 additions and 111 deletions

9
Deploy/binary_zip.ps1 Normal file
View File

@@ -0,0 +1,9 @@
$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)