From 7d3617c27f31827064aa9c5fe24c33c8012d9517 Mon Sep 17 00:00:00 2001 From: bao-qian Date: Sun, 29 May 2016 20:50:07 +0100 Subject: [PATCH] add version number in installer, fix #696 --- Deploy/squirrel_installer.ps1 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Deploy/squirrel_installer.ps1 b/Deploy/squirrel_installer.ps1 index 160e062ec..cec94831e 100644 --- a/Deploy/squirrel_installer.ps1 +++ b/Deploy/squirrel_installer.ps1 @@ -15,4 +15,7 @@ Write-Host "nupkg path: " + $nupkgPath $squirrelPath = $env:APPVEYOR_BUILD_FOLDER + "\packages\squirrel*\tools\Squirrel.com" Write-Host "squirrel path: " + $squirrelPath $iconPath = $env:APPVEYOR_BUILD_FOLDER + "\Wox\Resources\app.ico" -& $squirrelPath --releasify $nupkgPath --setupIcon $iconPath --no-msi \ No newline at end of file +& $squirrelPath --releasify $nupkgPath --setupIcon $iconPath --no-msi + +$path = "Releases\" + "Wox-" + $env:APPVEYOR_BUILD_VERSION + ".exe" +mv Releases\Setup.exe $path