Fix download URL on choco update script (#3029)
This commit is contained in:
parent
2ecce7215f
commit
4dd149e912
|
@ -19,7 +19,7 @@ if(Test-Path -Path $distChocoDir) {
|
|||
Copy-Item -Path $chocoDir -Destination $distChocoDir –Recurse
|
||||
|
||||
$exe = $distChocoDir + "\Bitwarden-Installer-" + $version + ".exe";
|
||||
$uri = "https://github.com/bitwarden/desktop/releases/download/v" + $version + "/Bitwarden-Installer-" + $version + ".exe";
|
||||
$uri = "https://github.com/bitwarden/clients/releases/download/desktop-v" + $version + "/Bitwarden-Installer-" + $version + ".exe";
|
||||
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
|
||||
Invoke-RestMethod -Uri $uri -OutFile $exe
|
||||
|
||||
|
|
Loading…
Reference in New Issue