Commit 98bcba55 authored by liujiangnan's avatar liujiangnan

feat: mac地址

parent 616ef6aa
...@@ -114,11 +114,11 @@ export default class NewClass extends middleLayerBase { ...@@ -114,11 +114,11 @@ export default class NewClass extends middleLayerBase {
} }
async getNativeVersion() { async getNativeVersion() {
const engineInfo = await this.getEngineInfo(); const engineInfo = await this.getEngineInfo();
const { version, isDev, type, uuid } = JSON.parse(engineInfo); const { version, isDev, type, uuid, mac } = JSON.parse(engineInfo);
this.version = version; this.version = version;
this.isDev = isDev; this.isDev = isDev;
this.type = type; this.type = type;
this.engine_uuid = uuid; this.engine_uuid = mac || uuid;
return this.version; return this.version;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment