From 4f252fa6fc2f1e11319beea03d359f63c3e2c73b Mon Sep 17 00:00:00 2001 From: popjdh Date: Fri, 16 Dec 2022 19:17:39 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E4=BF=AE=E6=94=B9=E6=88=AA=E5=9B=BE?= =?UTF-8?q?=E5=91=BD=E4=BB=A4"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit c4de1010dda64e921123575aa720bf1d8ff80496. --- resource/config.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/resource/config.json b/resource/config.json index 037345ede9..9631d21e77 100644 --- a/resource/config.json +++ b/resource/config.json @@ -61,11 +61,11 @@ "pressEsc": "[Adb] -s [AdbSerial] shell input keyevent 111", "display": "[Adb] -s [AdbSerial] shell dumpsys window displays | grep -o -E cur=+[^\\ ]+ | grep -o -E [0-9]+", "displayFormat": "%d%d", - "screencapRawByNC": "[Adb] -s [AdbSerial] exec-out \"screencap 2>/dev/null | nc -w 3 [NcAddress] [NcPort]\"", + "screencapRawByNC": "[Adb] -s [AdbSerial] exec-out \"screencap | nc -w 3 [NcAddress] [NcPort]\"", "ncAddress": "[Adb] -s [AdbSerial] shell \" cat /proc/net/arp | grep : \"", "ncPort": 6723, - "screencapRawWithGzip": "[Adb] -s [AdbSerial] exec-out \"screencap 2>/dev/null | gzip -1\"", - "screencapEncode": "[Adb] -s [AdbSerial] exec-out screencap -p 2>/dev/null", + "screencapRawWithGzip": "[Adb] -s [AdbSerial] exec-out \"screencap | gzip -1\"", + "screencapEncode": "[Adb] -s [AdbSerial] exec-out screencap -p", "release": "[Adb] kill-server", "start": "[Adb] -s [AdbSerial] shell am start -n [Intent]", "stop": "[Adb] -s [AdbSerial] shell \"am force-stop `dumpsys activity activities 2>/dev/null | grep Activities= 2>/dev/null | grep -m 1 -i -o -E [^\\ ]*arknights[^/]*`\"", @@ -79,9 +79,9 @@ { "configName": "CapWithShell", "baseConfig": "General", - "screencapRawByNC": "[Adb] -s [AdbSerial] shell \"screencap 2>/dev/null | nc -w 3 [NcAddress] [NcPort]\"", - "screencapRawWithGzip": "[Adb] -s [AdbSerial] shell \"screencap 2>/dev/null | gzip -1\"", - "screencapEncode": "[Adb] -s [AdbSerial] shell screencap -p 2>/dev/null" + "screencapRawByNC": "[Adb] -s [AdbSerial] shell \"screencap | nc -w 3 [NcAddress] [NcPort]\"", + "screencapRawWithGzip": "[Adb] -s [AdbSerial] shell \"screencap | gzip -1\"", + "screencapEncode": "[Adb] -s [AdbSerial] shell screencap -p" }, { "configName": "BlueStacks",