Change changelog link to github compare
This commit is contained in:
parent
ccac3cc956
commit
6e0b5d97bd
1 changed files with 6 additions and 3 deletions
|
@ -137,19 +137,22 @@ function main {
|
||||||
New-Item -type Directory -Path ".\app" -ErrorAction SilentlyContinue | Out-Null
|
New-Item -type Directory -Path ".\app" -ErrorAction SilentlyContinue | Out-Null
|
||||||
|
|
||||||
if ($install[0]) {
|
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"
|
Invoke-WebRequest $patchesRelease.assets[1].browser_download_url -OutFile ".\app\revanced-patches.jar"
|
||||||
$config.patches = $patchesRelease.tag_name
|
$config.patches = $patchesRelease.tag_name
|
||||||
}
|
}
|
||||||
else {Write-Output "Patches up to date $($config.patches)"}
|
else {Write-Output "Patches up to date $($config.patches)"}
|
||||||
if ($install[1]) {
|
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"
|
Invoke-WebRequest $integrationsRelease.assets[0].browser_download_url -OutFile ".\app\app-release-unsigned.apk"
|
||||||
$config.integrations = $integrationsRelease.tag_name
|
$config.integrations = $integrationsRelease.tag_name
|
||||||
}
|
}
|
||||||
else {Write-Output "Integrations up to date $($config.integrations)"}
|
else {Write-Output "Integrations up to date $($config.integrations)"}
|
||||||
if ($install[2]) {
|
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"
|
Invoke-WebRequest $cliRelease.assets[0].browser_download_url -OutFile ".\app\revanced-cli.jar"
|
||||||
$config.cli = $cliRelease.tag_name
|
$config.cli = $cliRelease.tag_name
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue