feat: merge Waydroid config

This commit is contained in:
Horror Proton
2024-08-02 13:13:38 +08:00
parent 6cb85bc30d
commit 1ccc102b38

View File

@@ -149,21 +149,11 @@
"stop": "[Adb] -s [AdbSerial] shell 'PACKAGE_NAME=$(dumpsys activity activities 2>/dev/null | grep -E \"(packageName|Activities)=[^\\n]+rknights\" 2>/dev/null | grep -i -o -E \"[^= ]*rknights[^ /\\n]*\" | head -n 1); if [ -n \"$PACKAGE_NAME\" ]; then echo \"Closing $PACKAGE_NAME\"; am force-stop $PACKAGE_NAME; else echo \"app not running or arknights package name not found\"; fi'"
},
{
"configName": "GeneralWithoutScreencapErr",
"baseConfig": "General",
"screencapRawWithGzip": "[Adb] -s [AdbSerial] exec-out \"screencap 2>/dev/null | gzip -1\"",
"screencapEncode": "[Adb] -s [AdbSerial] exec-out \"screencap -p 2>/dev/null\""
},
{
"configName": "CompatPOSIXShellWithoutScreencapErr",
"baseConfig": "CompatPOSIXShell",
"screencapRawWithGzip": "[Adb] -s [AdbSerial] exec-out \"screencap 2>/dev/null | gzip -1\"",
"screencapEncode": "[Adb] -s [AdbSerial] exec-out \"screencap -p 2>/dev/null\""
},
{
"configName": "Waydroid",
"baseConfig": "General",
"start": "[Adb] -s [AdbSerial] shell am start --windowingMode 4 -n [Intent]"
}
"baseConfig": "CompatPOSIXShell",
"start": "[Adb] -s [AdbSerial] shell am start --windowingMode 4 -n [Intent]",
"screencapRawWithGzip": "[Adb] -s [AdbSerial] exec-out \"screencap 2>/dev/null | gzip -1\"",
"screencapEncode": "[Adb] -s [AdbSerial] exec-out \"screencap -p 2>/dev/null\""
}
]
}