add -NoDeploy flag
This commit is contained in:
parent
75bff43232
commit
69e2602e28
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Reference in a new issue