From 969d6cc415c7e5af8f4396a441da7ad3966ccb11 Mon Sep 17 00:00:00 2001 From: Dmitry Nefedov Date: Sat, 3 Sep 2022 18:32:16 +0300 Subject: [PATCH] Update Build.ps1 --- Build.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Build.ps1 b/Build.ps1 index 14c4d8c..e28095a 100644 --- a/Build.ps1 +++ b/Build.ps1 @@ -112,15 +112,15 @@ $Parameters = @{ } Invoke-RestMethod @Parameters -# https://github.com/microg/GmsCore +# https://github.com/TeamVanced/VancedMicroG $Parameters = @{ - Uri = "https://api.github.com/repos/microg/GmsCore/releases/latest" + Uri = "https://api.github.com/repos/TeamVanced/VancedMicroG/releases/latest" UseBasicParsing = $true Verbose = $true } -$URL = ((Invoke-RestMethod @Parameters).assets | Where-Object -FilterScript {$_.browser_download_url -notmatch "asc"}).browser_download_url +$Tag = (Invoke-RestMethod @Parameters).tag_name $Parameters = @{ - Uri = $URL + Uri = "https://github.com/TeamVanced/VancedMicroG/releases/download/$Tag/microg.apk" Outfile = "$DownloadsFolder\ReVanced\microg.apk" UseBasicParsing = $true Verbose = $true