1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-16 11:21:03 +01:00
bitwarden-estensione-browser/apps/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
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