Update update url

pull/29/head^2
Romain 2022-03-11 11:26:23 +01:00 committed by GitHub
parent 642395b9b1
commit 4dbc1d66ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ function Update-WAU{
#Download the zip #Download the zip
Write-Log "Starting downloading the GitHub Repository" 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' Write-Log 'Download finished'
#Extract Zip File #Extract Zip File