Update Scripts/ReVanced_Intergrations.ps1

Signed-off-by: Lev Rusanov <30170278+JDM170@users.noreply.github.com>
This commit is contained in:
2023-01-02 23:23:51 +07:00
parent 56c74f971f
commit a126854226

View File

@@ -5,8 +5,7 @@ $Parameters = @{
Verbose = $true
}
$apiResult = Invoke-RestMethod @Parameters
$GithubTag = $apiResult.tag_name
$IntegrationsTag = $GithubTag.replace("v", "")
$IntegrationsTag = $apiResult.tag_name.replace("v", "")
$Parameters = @{
# Uri = "https://github.com/revanced/revanced-integrations/releases/download/$Tag/revanced-integrations-$Tag2.apk"
Uri = $apiResult.assets.browser_download_url