1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-07-01 11:26:04 +02:00
bitwarden-desktop/stores/chocolatey/tools/chocolateyinstall.ps1

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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