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'
|
2018-02-20 04:27:43 +01:00
|
|
|
|
$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
|