1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-07 09:31:31 +01:00
bitwarden-browser/stores/chocolatey/tools/chocolateyinstall.ps1

18 lines
446 B
PowerShell
Raw Normal View History

2018-02-17 15:32:11 +01:00
$ErrorActionPreference = 'Stop';
2018-02-28 15:18:35 +01:00
$url = 'https://github.com/bitwarden/desktop/releases/download/v__version__/Bitwarden-Installer-__version__.exe'
$checksum = '__checksum__'
2018-02-17 16:20:35 +01:00
2018-02-17 15:32:11 +01:00
$packageArgs = @{
2018-02-17 16:20:35 +01:00
packageName = 'bitwarden'
2018-02-17 15:32:11 +01:00
fileType = 'EXE'
2018-02-17 16:20:35 +01:00
softwareName = 'Bitwarden'
url = $url
checksum = $checksum
2018-02-17 15:32:11 +01:00
checksumType = 'sha256'
2018-02-17 16:20:35 +01:00
silentArgs = '/S'
2018-02-17 15:32:11 +01:00
validExitCodes= @(0)
}
Install-ChocolateyPackage @packageArgs