From 8cf4190c8f820481620976132eb0de8c9fb434da Mon Sep 17 00:00:00 2001 From: Ian Neubert Date: Sat, 11 Sep 2021 11:11:27 -0700 Subject: [PATCH] Fix URLs for 64bit setup --- install.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.ps1 b/install.ps1 index 39327b2..b3e7342 100644 --- a/install.ps1 +++ b/install.ps1 @@ -5,10 +5,10 @@ if(-not (Test-Path $ResticExe)) { $url = $null if([Environment]::Is64BitOperatingSystem){ - $url = "https://github.com/restic/restic/releases/download/v0.12.1/restic_0.12.1_windows_386.zip" + $url = "https://github.com/restic/restic/releases/download/v0.12.1/restic_0.12.1_windows_amd64.zip" } else { - $url = "https://github.com/restic/restic/releases/download/v0.12.1/restic_0.12.1_windows_amd64.zip" + $url = "https://github.com/restic/restic/releases/download/v0.12.1/restic_0.12.1_windows_386.zip" } $output = Join-Path $InstallPath "restic.zip" Invoke-WebRequest -Uri $url -OutFile $output