Add files via upload

This commit is contained in:
Dmitry Nefedov
2022-09-23 00:39:58 +03:00
committed by GitHub
parent 87290740a5
commit b43fec04b2
6 changed files with 129 additions and 18 deletions

16
Scripts/MicroG.ps1 Normal file
View 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