下载时增加版本判断

This commit is contained in:
2025-03-17 16:12:49 +08:00
parent b86366e244
commit f7d8926443
5 changed files with 33 additions and 5 deletions

View File

@ -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);