Add more log output
This commit is contained in:
parent
dc70980cb3
commit
bd5d6d666b
1 changed files with 5 additions and 0 deletions
|
@ -146,16 +146,19 @@ function main {
|
|||
Invoke-WebRequest $patchesRelease.assets[1].browser_download_url -OutFile ".\app\revanced-patches.jar"
|
||||
$config.patches = $gitHubVersions.patches
|
||||
}
|
||||
else {Write-Output "Patches up to date $($config.patches)"}
|
||||
if ($install[1]) {
|
||||
Write-Output "Downloading Integrations ($($config.integrations) -> $($gitHubVersions.integrations))"
|
||||
Invoke-WebRequest $integrationsRelease.assets[0].browser_download_url -OutFile ".\app\app-release-unsigned.apk"
|
||||
$config.integrations = $gitHubVersions.integrations
|
||||
}
|
||||
else {Write-Output "Integrations up to date $($config.integrations)"}
|
||||
if ($install[2]) {
|
||||
Write-Output "Downloading cli ($($config.cli) -> $($gitHubVersions.cli))"
|
||||
Invoke-WebRequest $cliRelease.assets[0].browser_download_url -OutFile ".\app\revanced-cli.jar"
|
||||
$config.cli = $gitHubVersions.cli
|
||||
}
|
||||
else {Write-Output "cli up to date! $($config.cli)"}
|
||||
|
||||
$config.save(".\config.json")
|
||||
}
|
||||
|
@ -244,8 +247,10 @@ function main {
|
|||
foreach ($i in $excludedIntegrations) {
|
||||
$patcherArgs += "-e"
|
||||
$patcherArgs += $i
|
||||
Write-Output "Excluded: $i"
|
||||
}
|
||||
|
||||
Write-Output "Logs below are from the cli"
|
||||
execJava $patcherArgs
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue