From 6e0b5d97bdb0f44b2896b763c5a77b025f4dfd47 Mon Sep 17 00:00:00 2001 From: Wroclaw Date: Tue, 19 Jul 2022 16:07:39 +0200 Subject: [PATCH] Change changelog link to github compare --- revanced.ps1 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/revanced.ps1 b/revanced.ps1 index e2367d4..b32f276 100644 --- a/revanced.ps1 +++ b/revanced.ps1 @@ -137,19 +137,22 @@ function main { New-Item -type Directory -Path ".\app" -ErrorAction SilentlyContinue | Out-Null if ($install[0]) { - Write-Output "Downloading Patches ($($config.patches) -> $($patchesRelease.tag_name)) changelog: $($patchesRelease.html_url)" + Write-Output "Downloading Patches ($($config.patches) -> $($patchesRelease.tag_name))" + Write-Output "changelog: https://github.com/revanced/revanced-patches/compare/$($config.patches)...$($patchesRelease.tag_name)" Invoke-WebRequest $patchesRelease.assets[1].browser_download_url -OutFile ".\app\revanced-patches.jar" $config.patches = $patchesRelease.tag_name } else {Write-Output "Patches up to date $($config.patches)"} if ($install[1]) { - Write-Output "Downloading Integrations ($($config.integrations) -> $($integrationsRelease.tag_name)) changelog: $($integrationsRelease.html_url)" + Write-Output "Downloading Integrations ($($config.integrations) -> $($integrationsRelease.tag_name))" + Write-Output "changelog: https://github.com/revanced/revanced-patches/compare/$($config.integrations)...$($integrationsRelease.tag_name)" Invoke-WebRequest $integrationsRelease.assets[0].browser_download_url -OutFile ".\app\app-release-unsigned.apk" $config.integrations = $integrationsRelease.tag_name } else {Write-Output "Integrations up to date $($config.integrations)"} if ($install[2]) { - Write-Output "Downloading cli ($($config.cli) -> $($cliRelease.tag_name)) changelog: $($cliRelease.html_url)" + Write-Output "Downloading cli ($($config.cli) -> $($cliRelease.tag_name))" + Write-Output "changelog: https://github.com/revanced/revanced-patches/compare/$($config.cli)...$($cliRelease.tag_name)" Invoke-WebRequest $cliRelease.assets[0].browser_download_url -OutFile ".\app\revanced-cli.jar" $config.cli = $cliRelease.tag_name }