From a825aea60086c3aa4e42262a7eaa404781bc1ffb Mon Sep 17 00:00:00 2001 From: "yineng.huang" Date: Thu, 29 Aug 2024 16:55:01 +0800 Subject: [PATCH] =?UTF-8?q?wda=E6=97=A5=E5=BF=97=E7=AD=9B=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../thread/WindowsAndLinuxIosDeviceInitThread.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cctp-atu/atu-upper-computer/src/main/java/net/northking/cctp/upperComputer/deviceManager/thread/WindowsAndLinuxIosDeviceInitThread.java b/cctp-atu/atu-upper-computer/src/main/java/net/northking/cctp/upperComputer/deviceManager/thread/WindowsAndLinuxIosDeviceInitThread.java index 94a41d8..d172171 100644 --- a/cctp-atu/atu-upper-computer/src/main/java/net/northking/cctp/upperComputer/deviceManager/thread/WindowsAndLinuxIosDeviceInitThread.java +++ b/cctp-atu/atu-upper-computer/src/main/java/net/northking/cctp/upperComputer/deviceManager/thread/WindowsAndLinuxIosDeviceInitThread.java @@ -100,7 +100,7 @@ public class WindowsAndLinuxIosDeviceInitThread extends IosDeviceInitThread { input = new LineNumberReader(new InputStreamReader(this.wdaProcess.getInputStream())); String line = null; while (null != (line = input.readLine())) { - if (line.contains(" _device")) { + if (line.contains("NKLog:")) { fileOutputStream.write(line.getBytes(StandardCharsets.UTF_8)); fileOutputStream.write(10); }