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/ReVanced_Intergrations.ps1
Normal file
16
Scripts/ReVanced_Intergrations.ps1
Normal file
@@ -0,0 +1,16 @@
|
||||
# https://github.com/revanced/revanced-integrations
|
||||
$Parameters = @{
|
||||
Uri = "https://api.github.com/repos/revanced/revanced-integrations/releases/latest"
|
||||
UseBasicParsing = $true
|
||||
Verbose = $true
|
||||
}
|
||||
$IntegrationsTag = (Invoke-RestMethod @Parameters).tag_name
|
||||
$Parameters = @{
|
||||
Uri = "https://github.com/revanced/revanced-integrations/releases/download/$IntegrationsTag/app-release-unsigned.apk"
|
||||
Outfile = "$PSScriptRoot\app-release-unsigned.apk"
|
||||
UseBasicParsing = $true
|
||||
Verbose = $true
|
||||
}
|
||||
Invoke-RestMethod @Parameters
|
||||
|
||||
echo "IntegrationsTag=$IntegrationsTag" >> $env:GITHUB_ENV
|
||||
Reference in New Issue
Block a user