mirror of
https://github.com/revanced/revanced-cli.git
synced 2025-01-15 21:47:32 +01:00
fix: Use the first connected device when no ADB device is specified
This commit is contained in:
parent
280ded2281
commit
5f952f35f5
@ -246,6 +246,8 @@ internal object PatchCommand : Runnable {
|
||||
.resolve("${outputFilePath.nameWithoutExtension}.keystore")
|
||||
|
||||
val installer = if (deviceSerial != null) {
|
||||
val deviceSerial = deviceSerial!!.ifEmpty { null }
|
||||
|
||||
try {
|
||||
if (mount) {
|
||||
AdbRootInstaller(deviceSerial)
|
||||
|
Loading…
x
Reference in New Issue
Block a user