From d0049ddd1ff36b64918274fe5a6738ea010ff978 Mon Sep 17 00:00:00 2001 From: lhhxxxxx Date: Sat, 4 Jun 2022 21:52:53 +0800 Subject: [PATCH] refract start command --- resource/config.json | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/resource/config.json b/resource/config.json index 0f15d1bdb2..03f138bdd2 100644 --- a/resource/config.json +++ b/resource/config.json @@ -31,8 +31,7 @@ "screencapRawWithGzip": "[Adb] -s [Address] exec-out \"screencap | gzip -1\"", "screencapEncode": "[Adb] -s [Address] exec-out screencap -p", "release": "[Adb] kill-server", - "startOfficial": "[Adb] -s [Address] shell am start -n com.hypergryph.arknights/com.u8.sdk.U8UnityContext", - "startBilibili": "[Adb] -s [Address] shell am start -n com.hypergryph.arknights.bilibili/com.u8.sdk.U8UnityContext" + "start": "[Adb] -s [Address] shell am start -n [Intent]" }, "BlueStacks": { "devices": "[Adb] devices", @@ -46,8 +45,7 @@ "screencapRawWithGzip": "[Adb] -s [Address] exec-out \"screencap | gzip -1\"", "screencapEncode": "[Adb] -s [Address] exec-out screencap -p", "release": "[Adb] kill-server", - "startOfficial": "[Adb] -s [Address] shell am start -n com.hypergryph.arknights/com.u8.sdk.U8UnityContext", - "startBilibili": "[Adb] -s [Address] shell am start -n com.hypergryph.arknights.bilibili/com.u8.sdk.U8UnityContext" + "start": "[Adb] -s [Address] shell am start -n [Intent]" }, "MuMuEmulator": { "devices": "[Adb] devices", @@ -61,8 +59,7 @@ "screencapRawWithGzip": "[Adb] -s [Address] exec-out \"screencap | gzip -1\"", "screencapEncode": "[Adb] -s [Address] exec-out screencap -p", "release": "[Adb] kill-server", - "startOfficial": "[Adb] -s [Address] shell am start -n com.hypergryph.arknights/com.u8.sdk.U8UnityContext", - "startBilibili": "[Adb] -s [Address] shell am start -n com.hypergryph.arknights.bilibili/com.u8.sdk.U8UnityContext" + "start": "[Adb] -s [Address] shell am start -n [Intent]" }, "LDPlayer": { "devices": "[Adb] devices", @@ -76,8 +73,7 @@ "screencapRawWithGzip": "[Adb] -s [Address] shell \"screencap | gzip -1\"", "screencapEncode": "[Adb] -s [Address] shell screencap -p", "release": "[Adb] kill-server", - "startOfficial": "[Adb] -s [Address] shell am start -n com.hypergryph.arknights/com.u8.sdk.U8UnityContext", - "startBilibili": "[Adb] -s [Address] shell am start -n com.hypergryph.arknights.bilibili/com.u8.sdk.U8UnityContext" + "start": "[Adb] -s [Address] shell am start -n [Intent]" }, "Nox": { "devices": "[Adb] devices", @@ -91,8 +87,7 @@ "screencapRawWithGzip": "[Adb] -s [Address] exec-out \"screencap | gzip -1\"", "screencapEncode": "[Adb] -s [Address] exec-out screencap -p", "release": "[Adb] kill-server", - "startOfficial": "[Adb] -s [Address] shell am start -n com.hypergryph.arknights/com.u8.sdk.U8UnityContext", - "startBilibili": "[Adb] -s [Address] shell am start -n com.hypergryph.arknights.bilibili/com.u8.sdk.U8UnityContext" + "start": "[Adb] -s [Address] shell am start -n [Intent]" }, "XYAZ": { "devices": "[Adb] devices", @@ -106,8 +101,7 @@ "screencapRawWithGzip": "[Adb] -s [Address] shell \"screencap | gzip -1\"", "screencapEncode": "[Adb] -s [Address] shell screencap -p", "release": "[Adb] kill-server", - "startOfficial": "[Adb] -s [Address] shell am start -n com.hypergryph.arknights/com.u8.sdk.U8UnityContext", - "startBilibili": "[Adb] -s [Address] shell am start -n com.hypergryph.arknights.bilibili/com.u8.sdk.U8UnityContext" + "start": "[Adb] -s [Address] shell am start -n [Intent]" }, "WSA": { "devices": "[Adb] devices", @@ -122,8 +116,7 @@ "screencapRawWithGzip": "[Adb] -s [Address] shell \"screencap -d [DisplayId] | gzip -1\"", "screencapEncode": "[Adb] -s [Address] shell screencap -d [DisplayId] -p", "release": "[Adb] kill-server", - "startOfficial": "[Adb] -s [Address] shell am start -n com.hypergryph.arknights/com.u8.sdk.U8UnityContext", - "startBilibili": "[Adb] -s [Address] shell am start -n com.hypergryph.arknights.bilibili/com.u8.sdk.U8UnityContext" + "start": "[Adb] -s [Address] shell am start -n [Intent]" }, "Compatible": { "devices": "[Adb] devices", @@ -137,8 +130,7 @@ "screencapRawWithGzip": "[Adb] -s [Address] exec-out \"screencap | gzip -1\"", "screencapEncode": "[Adb] -s [Address] exec-out screencap -p", "release": "[Adb] kill-server", - "startOfficial": "[Adb] -s [Address] shell am start -n com.hypergryph.arknights/com.u8.sdk.U8UnityContext", - "startBilibili": "[Adb] -s [Address] shell am start -n com.hypergryph.arknights.bilibili/com.u8.sdk.U8UnityContext" + "start": "[Adb] -s [Address] shell am start -n [Intent]" } } }