mirror of
https://github.com/yume-chan/ya-webadb.git
synced 2025-10-05 10:49:24 +02:00
fix(adb): parse serviceListenAddresses
This commit is contained in:
parent
aeff1f8818
commit
af90a5bcb5
1 changed files with 4 additions and 1 deletions
|
@ -36,7 +36,10 @@ export class AdbTcpIpCommand extends AdbCommandBase {
|
||||||
const persistPort = await this.adb.getProp("persist.adb.tcp.port");
|
const persistPort = await this.adb.getProp("persist.adb.tcp.port");
|
||||||
|
|
||||||
return {
|
return {
|
||||||
serviceListenAddresses: serviceListenAddresses.split(","),
|
serviceListenAddresses:
|
||||||
|
serviceListenAddresses != ""
|
||||||
|
? serviceListenAddresses.split(",")
|
||||||
|
: [],
|
||||||
servicePort: this.#parsePort(servicePort),
|
servicePort: this.#parsePort(servicePort),
|
||||||
persistPort: this.#parsePort(persistPort),
|
persistPort: this.#parsePort(persistPort),
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue