Fix: adb single device
This commit is contained in:
parent
1ed0e6e7ec
commit
033978b5fb
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ function main {
|
||||||
|
|
||||||
[String]$selectedDevice = ''
|
[String]$selectedDevice = ''
|
||||||
if ($devices.Length -eq 1) {
|
if ($devices.Length -eq 1) {
|
||||||
$selectedDevice = ($devices | ForEach-Object {$_.split()[0]})[0]
|
$selectedDevice = ($devices | ForEach-Object {$_.split()[0]})
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$selectedDevice = (renderForm -items ($devices | ForEach-Object {$_.split()[0]}) -label "Select deployment target" -title "Installer for ReVanced - target" -mode One)
|
$selectedDevice = (renderForm -items ($devices | ForEach-Object {$_.split()[0]}) -label "Select deployment target" -title "Installer for ReVanced - target" -mode One)
|
||||||
|
|
Reference in a new issue