From 4dbc1d66ede87d57a70cf85a2935934154944183 Mon Sep 17 00:00:00 2001 From: Romain <96626929+Romanitho@users.noreply.github.com> Date: Fri, 11 Mar 2022 11:26:23 +0100 Subject: [PATCH] Update update url --- Winget-AutoUpdate/winget-upgrade.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Winget-AutoUpdate/winget-upgrade.ps1 b/Winget-AutoUpdate/winget-upgrade.ps1 index 3a79517..fbe63ab 100644 --- a/Winget-AutoUpdate/winget-upgrade.ps1 +++ b/Winget-AutoUpdate/winget-upgrade.ps1 @@ -281,7 +281,7 @@ function Update-WAU{ #Download the zip Write-Log "Starting downloading the GitHub Repository" - Invoke-RestMethod -Uri "https://api.github.com/repos/Romanitho/Winget-AutoUpdate/zipball/$($LatestVersion)" -OutFile $ZipFile + Invoke-RestMethod -Uri "https://github.com/Romanitho/Winget-AutoUpdate/archive/refs/tags/$($LatestVersion).zip" -OutFile $ZipFile Write-Log 'Download finished' #Extract Zip File