simvyn 2.5.4 → 2.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -3
- package/dist/dashboard/assets/{index-C-atBUQQ.css → index-B-km6Iwq.css} +22 -0
- package/dist/dashboard/assets/{index-rWeZ9VzX.js → index-OLUFfF_h.js} +356 -44
- package/dist/dashboard/assets/index-OLUFfF_h.js.map +1 -0
- package/dist/dashboard/index.html +2 -2
- package/dist/index.js +15 -2
- package/package.json +1 -1
- package/dist/dashboard/assets/index-rWeZ9VzX.js.map +0 -1
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
}
|
|
39
39
|
</style>
|
|
40
40
|
<title>simvyn</title>
|
|
41
|
-
<script type="module" crossorigin src="/assets/index-
|
|
42
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
41
|
+
<script type="module" crossorigin src="/assets/index-OLUFfF_h.js"></script>
|
|
42
|
+
<link rel="stylesheet" crossorigin href="/assets/index-B-km6Iwq.css">
|
|
43
43
|
</head>
|
|
44
44
|
<body>
|
|
45
45
|
<div id="root"></div>
|
package/dist/index.js
CHANGED
|
@@ -96,12 +96,25 @@ async function getAdbDevices() {
|
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
async function getEmulatorAvdName(serial) {
|
|
99
|
+
try {
|
|
100
|
+
const { stdout } = await verboseExec("adb", [
|
|
101
|
+
"-s",
|
|
102
|
+
serial,
|
|
103
|
+
"shell",
|
|
104
|
+
"getprop",
|
|
105
|
+
"ro.boot.qemu.avd_name"
|
|
106
|
+
]);
|
|
107
|
+
const name = stdout.trim();
|
|
108
|
+
if (name) return name;
|
|
109
|
+
} catch {
|
|
110
|
+
}
|
|
99
111
|
try {
|
|
100
112
|
const { stdout } = await verboseExec("adb", ["-s", serial, "emu", "avd", "name"]);
|
|
101
|
-
|
|
113
|
+
const name = stdout.trim().split(/\r?\n/)[0]?.trim();
|
|
114
|
+
if (name && name !== "OK" && !name.startsWith("KO")) return name;
|
|
102
115
|
} catch {
|
|
103
|
-
return serial;
|
|
104
116
|
}
|
|
117
|
+
return serial;
|
|
105
118
|
}
|
|
106
119
|
async function getDeviceProp(serial, prop) {
|
|
107
120
|
try {
|
package/package.json
CHANGED