@aiot-toolkit/emulator 2.0.3-beta.12 → 2.0.3-beta.14
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.
|
@@ -38,13 +38,13 @@ const systemImageBaseUrl = exports.systemImageBaseUrl = 'https://vela-ide.cnbj3-
|
|
|
38
38
|
const VelaImageVersionList = exports.VelaImageVersionList = [{
|
|
39
39
|
label: 'vela-4.0-正式版',
|
|
40
40
|
value: _Vvd.VelaImageType.REL,
|
|
41
|
-
time: '
|
|
41
|
+
time: '20241205',
|
|
42
42
|
hide: false,
|
|
43
43
|
icon: ''
|
|
44
44
|
}, {
|
|
45
45
|
label: 'vela-4.0-测试版',
|
|
46
46
|
value: _Vvd.VelaImageType.PRE,
|
|
47
|
-
time: '
|
|
47
|
+
time: '20241205',
|
|
48
48
|
hide: false,
|
|
49
49
|
icon: ''
|
|
50
50
|
}, {
|
|
@@ -95,7 +95,7 @@ async function getRunningVvds() {
|
|
|
95
95
|
const config = getRunningAvdConfig();
|
|
96
96
|
// running 文件中的数据可能会因为上次模拟器未正常退出而残留,所以需要过滤一下
|
|
97
97
|
const adbDevices = await (0, _adb.getAdbDevices)();
|
|
98
|
-
return config.filter(c => adbDevices.some(e => e.sn === `emulator-${c['port.serial']}`));
|
|
98
|
+
return config.filter(c => adbDevices.some(e => e.sn === `emulator-${c['port.serial']}` && e.status === 'device'));
|
|
99
99
|
}
|
|
100
100
|
function getRunningAvdConfigByName(name) {
|
|
101
101
|
const config = getRunningAvdConfig();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiot-toolkit/emulator",
|
|
3
|
-
"version": "2.0.3-beta.
|
|
3
|
+
"version": "2.0.3-beta.14",
|
|
4
4
|
"description": "vela emulator tool.",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "ISC",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"emulator"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@aiot-toolkit/shared-utils": "2.0.3-beta.
|
|
39
|
+
"@aiot-toolkit/shared-utils": "2.0.3-beta.14",
|
|
40
40
|
"@miwt/adb": "^0.9.0",
|
|
41
41
|
"adm-zip": "^0.5.16",
|
|
42
42
|
"dayjs": "^1.11.12",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"@types/adm-zip": "^0.5.5",
|
|
52
52
|
"@types/ini": "^4.1.1"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "5279c4e8b9ee65f5d578a1d656b852163f3efb4d"
|
|
55
55
|
}
|