choco script updates

This commit is contained in:
Kyle Spearrin 2018-02-28 09:18:35 -05:00
parent 3fd65ceb6f
commit 0d837b8bc8
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ Copy-Item -Path $chocoDir -Destination $distChocoDir Recurse
$srcPackage = $rootDir + "\src\package.json";
$srcPackageVersion = (Get-Content -Raw -Path $srcPackage | ConvertFrom-Json).version;
$exe = $distDir + "\nsis-web\Bitwarden Installer " + $srcPackageVersion + ".exe";
$exe = $distDir + "\nsis-web\Bitwarden-Installer-" + $srcPackageVersion + ".exe";
$checksum = checksum -t sha256 $exe
$nuspec = $distChocoDir + "\bitwarden.nuspec";
$chocoInstall = $distChocoDir + "\tools\chocolateyinstall.ps1";

View File

@ -1,6 +1,6 @@
$ErrorActionPreference = 'Stop';
$url = 'https://github.com/bitwarden/desktop/releases/download/v__version__/bitwarden-web-setup-__version__.exe'
$url = 'https://github.com/bitwarden/desktop/releases/download/v__version__/Bitwarden-Installer-__version__.exe'
$checksum = '__checksum__'
$packageArgs = @{