mirror of
https://github.com/HolographicHat/Yae.git
synced 2026-03-19 10:59:44 +08:00
Fix
This commit is contained in:
@@ -3,12 +3,10 @@
|
||||
{
|
||||
"target_name": "native",
|
||||
"sources": [
|
||||
"src/homu.h",
|
||||
"src/main.cc",
|
||||
"src/utils.h",
|
||||
"src/utils.cc",
|
||||
"src/define.h",
|
||||
"src/homu.cpp",
|
||||
"src/wmi/wmi.cpp",
|
||||
"src/wmi/wmi.hpp",
|
||||
"src/wmi/unistd.h",
|
||||
@@ -47,4 +45,4 @@
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "homu.h"
|
||||
//#include "homu.h"
|
||||
#include "utils.h"
|
||||
#include "define.h"
|
||||
#include "wmi/wmi.hpp"
|
||||
@@ -232,7 +232,7 @@ namespace native {
|
||||
Object init(Env env, Object exports) {
|
||||
exports.Set("pause", Function::New(env, Pause));
|
||||
exports.Set("openUrl", Function::New(env, OpenUrl));
|
||||
exports.Set("homuInit", Function::New(env, Initialize));
|
||||
//exports.Set("homuInit", Function::New(env, Initialize));
|
||||
exports.Set("getDeviceID", Function::New(env, GetDeviceID));
|
||||
exports.Set("getMACAddress", Function::New(env, GetMACAddress));
|
||||
exports.Set("getDeviceInfo", Function::New(env, GetDeviceInfo));
|
||||
|
||||
Reference in New Issue
Block a user