diff --git a/README.md b/README.md index bacb4e0..383cad2 100644 --- a/README.md +++ b/README.md @@ -11,3 +11,5 @@ After running, script will download latest required patches and jars in order to It will prompt user which patches to exclude and to which device deploy (if multiple connected) Scripts saves in `.\config.json` latest known versions (which are 100% downloaded if not deleted) and excluded patches for future use. + +Use `-NoDeploy` to only check and download updates diff --git a/revanced.ps1 b/revanced.ps1 index b1e7228..46e8b5d 100644 --- a/revanced.ps1 +++ b/revanced.ps1 @@ -1,5 +1,6 @@ Param( - [string]$Java = 'java' + [string]$Java = 'java', + [switch]$NoDeploy ) Add-Type -AssemblyName System.Windows.Forms @@ -160,6 +161,8 @@ function main { Write-Output "Couldn't get newest files, using locals" } + if ($NoDeploy) {return} + # Select Youtube app $apks = (Get-ChildItem *.apk).Name