Update installer to install restic 0.12.0

This fixes the backup script's usage of features not available in the
previous version.
This commit is contained in:
Michael Koch
2021-02-27 12:26:40 +01:00
parent f7c1ba32d2
commit f0c357520e
+2 -2
View File
@@ -5,10 +5,10 @@
if(-not (Test-Path $ResticExe)) { if(-not (Test-Path $ResticExe)) {
$url = $null $url = $null
if([Environment]::Is64BitOperatingSystem){ if([Environment]::Is64BitOperatingSystem){
$url = "https://github.com/restic/restic/releases/download/v0.9.6/restic_0.9.6_windows_amd64.zip" $url = "https://github.com/restic/restic/releases/download/v0.12.0/restic_0.12.0_windows_amd64.zip"
} }
else { else {
$url = "https://github.com/restic/restic/releases/download/v0.9.6/restic_0.9.6_windows_386.zip" $url = "https://github.com/restic/restic/releases/download/v0.12.0/restic_0.12.0_windows_386.zip"
} }
$output = Join-Path $InstallPath "restic.zip" $output = Join-Path $InstallPath "restic.zip"
Invoke-WebRequest -Uri $url -OutFile $output Invoke-WebRequest -Uri $url -OutFile $output