1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-19 02:51:14 +02:00
bitwarden-browser/stores/chocolatey/tools/chocolateyinstall.ps1
2018-02-17 10:20:35 -05:00

18 lines
486 B
PowerShell

$ErrorActionPreference = 'Stop';
$url = 'https://github.com/bitwarden/desktop/releases/download/v0.0.5/bitwarden-web-setup-0.0.5.exe'
$checksum = '017E5B289EB583E93DB7F108FB5CB0AD28AB44EEE045A8A096B442CAF822567F'
$packageArgs = @{
packageName = 'bitwarden'
fileType = 'EXE'
softwareName = 'Bitwarden'
url = $url
checksum = $checksum
checksumType = 'sha256'
silentArgs = '/S'
validExitCodes= @(0)
}
Install-ChocolateyPackage @packageArgs