From dc803e9d63bb33730c0b8a9a379b32d1429d6e18 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Sat, 17 Feb 2018 10:20:35 -0500 Subject: [PATCH] choco updates --- .gitignore | 3 ++- stores/chocolatey/tools/chocolateyinstall.ps1 | 12 ++++++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 2b41088142..2b1021d8c5 100644 --- a/.gitignore +++ b/.gitignore @@ -8,4 +8,5 @@ dist/ build/ package-lock.json yarn-error.log -.DS_Store \ No newline at end of file +.DS_Store +*.nupkg diff --git a/stores/chocolatey/tools/chocolateyinstall.ps1 b/stores/chocolatey/tools/chocolateyinstall.ps1 index 3af9a9da7b..5bbbf38095 100644 --- a/stores/chocolatey/tools/chocolateyinstall.ps1 +++ b/stores/chocolatey/tools/chocolateyinstall.ps1 @@ -1,12 +1,16 @@ $ErrorActionPreference = 'Stop'; +$url = 'https://github.com/bitwarden/desktop/releases/download/v0.0.5/bitwarden-web-setup-0.0.5.exe' +$checksum = '017E5B289EB583E93DB7F108FB5CB0AD28AB44EEE045A8A096B442CAF822567F' + $packageArgs = @{ - packageName = $env:ChocolateyPackageNam + packageName = 'bitwarden' fileType = 'EXE' - url = 'https://github.com/bitwarden/desktop/releases/download/v0.0.5/bitwarden-web-setup-0.0.5.exe' - checksum = '017E5B289EB583E93DB7F108FB5CB0AD28AB44EEE045A8A096B442CAF822567F' + softwareName = 'Bitwarden' + url = $url + checksum = $checksum checksumType = 'sha256' - silentArgs = '/S' + silentArgs = '/S' validExitCodes= @(0) }