mirror of
https://github.com/JDM170/ReVanced_Builder
synced 2025-11-29 14:41:46 +07:00
Update Build.ps1
This commit is contained in:
@@ -112,15 +112,15 @@ $Parameters = @{
|
|||||||
}
|
}
|
||||||
Invoke-RestMethod @Parameters
|
Invoke-RestMethod @Parameters
|
||||||
|
|
||||||
# https://github.com/microg/GmsCore
|
# https://github.com/TeamVanced/VancedMicroG
|
||||||
$Parameters = @{
|
$Parameters = @{
|
||||||
Uri = "https://api.github.com/repos/microg/GmsCore/releases/latest"
|
Uri = "https://api.github.com/repos/TeamVanced/VancedMicroG/releases/latest"
|
||||||
UseBasicParsing = $true
|
UseBasicParsing = $true
|
||||||
Verbose = $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 = @{
|
$Parameters = @{
|
||||||
Uri = $URL
|
Uri = "https://github.com/TeamVanced/VancedMicroG/releases/download/$Tag/microg.apk"
|
||||||
Outfile = "$DownloadsFolder\ReVanced\microg.apk"
|
Outfile = "$DownloadsFolder\ReVanced\microg.apk"
|
||||||
UseBasicParsing = $true
|
UseBasicParsing = $true
|
||||||
Verbose = $true
|
Verbose = $true
|
||||||
|
|||||||
Reference in New Issue
Block a user