add version number in installer, fix #696

This commit is contained in:
bao-qian 2016-05-29 20:50:07 +01:00
parent cf6fca8e76
commit 7d3617c27f

View file

@ -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
& $squirrelPath --releasify $nupkgPath --setupIcon $iconPath --no-msi
$path = "Releases\" + "Wox-" + $env:APPVEYOR_BUILD_VERSION + ".exe"
mv Releases\Setup.exe $path