1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-20 16:07:45 +01:00
bitwarden-browser/apps/desktop/stores/chocolatey/tools/chocolateyinstall.ps1

18 lines
454 B
PowerShell
Raw Normal View History

2018-02-17 15:32:11 +01:00
$ErrorActionPreference = 'Stop';
2022-07-20 14:33:58 +02:00
$url = 'https://github.com/bitwarden/clients/releases/download/desktop-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