mirror of
https://github.com/JDM170/ReVanced_Builder
synced 2025-11-29 14:41:46 +07:00
Add files via upload
This commit is contained in:
16
Scripts/MicroG.ps1
Normal file
16
Scripts/MicroG.ps1
Normal file
@@ -0,0 +1,16 @@
|
||||
# https://github.com/TeamVanced/VancedMicroG
|
||||
$Parameters = @{
|
||||
Uri = "https://api.github.com/repos/TeamVanced/VancedMicroG/releases/latest"
|
||||
UseBasicParsing = $true
|
||||
Verbose = $true
|
||||
}
|
||||
$MicroGTag = (Invoke-RestMethod @Parameters).tag_name
|
||||
$Parameters = @{
|
||||
Uri = "https://github.com/TeamVanced/VancedMicroG/releases/download/$MicroGTag/microg.apk"
|
||||
Outfile = "$PSScriptRoot\microg.apk"
|
||||
UseBasicParsing = $true
|
||||
Verbose = $true
|
||||
}
|
||||
Invoke-RestMethod @Parameters
|
||||
|
||||
echo "MicroGTag=$MicroGTag" >> $env:GITHUB_ENV
|
||||
Reference in New Issue
Block a user