1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-11-25 12:06:07 +01:00
bitwarden-desktop/stores/chocolatey/tools/chocolateyinstall.ps1
2018-02-28 09:18:35 -05:00

18 lines
446 B
PowerShell

$ErrorActionPreference = 'Stop';
$url = 'https://github.com/bitwarden/desktop/releases/download/v__version__/Bitwarden-Installer-__version__.exe'
$checksum = '__checksum__'
$packageArgs = @{
packageName = 'bitwarden'
fileType = 'EXE'
softwareName = 'Bitwarden'
url = $url
checksum = $checksum
checksumType = 'sha256'
silentArgs = '/S'
validExitCodes= @(0)
}
Install-ChocolateyPackage @packageArgs