下载时增加版本判断
This commit is contained in:
@ -4,6 +4,10 @@
|
||||
|
||||
static Napi::Object Init(Napi::Env env, Napi::Object exports)
|
||||
{
|
||||
#ifdef RELEASE_VERSION
|
||||
exports.Set("__release__", Napi::String::New(env, RELEASE_VERSION));
|
||||
#endif
|
||||
|
||||
InitMatAPI(env, exports);
|
||||
InitVideoCaptureAPI(env, exports);
|
||||
InitUtilAPI(env, exports);
|
||||
|
Reference in New Issue
Block a user