1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 06:13:38 +00:00

Fix download URL on choco update script (#3029)

This commit is contained in:
Michał Chęciński
2022-07-06 10:50:59 +02:00
committed by GitHub
parent 2ecce7215f
commit 4dd149e912

View File

@@ -19,7 +19,7 @@ if(Test-Path -Path $distChocoDir) {
Copy-Item -Path $chocoDir -Destination $distChocoDir Recurse Copy-Item -Path $chocoDir -Destination $distChocoDir Recurse
$exe = $distChocoDir + "\Bitwarden-Installer-" + $version + ".exe"; $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 [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Invoke-RestMethod -Uri $uri -OutFile $exe Invoke-RestMethod -Uri $uri -OutFile $exe