From 033978b5fb98919e8e27cf42141331188933a97d Mon Sep 17 00:00:00 2001 From: Wroclaw Date: Thu, 4 Aug 2022 21:58:06 +0200 Subject: [PATCH] Fix: adb single device --- revanced.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/revanced.ps1 b/revanced.ps1 index 67d3fb8..82ba1d9 100644 --- a/revanced.ps1 +++ b/revanced.ps1 @@ -227,7 +227,7 @@ function main { [String]$selectedDevice = '' if ($devices.Length -eq 1) { - $selectedDevice = ($devices | ForEach-Object {$_.split()[0]})[0] + $selectedDevice = ($devices | ForEach-Object {$_.split()[0]}) } else { $selectedDevice = (renderForm -items ($devices | ForEach-Object {$_.split()[0]}) -label "Select deployment target" -title "Installer for ReVanced - target" -mode One)