mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-29 17:38:04 +01:00
18 lines
454 B
PowerShell
18 lines
454 B
PowerShell
$ErrorActionPreference = 'Stop';
|
|
|
|
$url = 'https://github.com/bitwarden/clients/releases/download/desktop-v__version__/Bitwarden-Installer-__version__.exe'
|
|
$checksum = '__checksum__'
|
|
|
|
$packageArgs = @{
|
|
packageName = 'bitwarden'
|
|
fileType = 'EXE'
|
|
softwareName = 'Bitwarden'
|
|
url = $url
|
|
checksum = $checksum
|
|
checksumType = 'sha256'
|
|
silentArgs = '/S'
|
|
validExitCodes= @(0)
|
|
}
|
|
|
|
Install-ChocolateyPackage @packageArgs
|