增加下载工具

This commit is contained in:
2025-03-20 18:24:12 +08:00
parent 6bf7db1f4c
commit 6cdf4cbcd6
12 changed files with 131 additions and 9 deletions

View File

@ -7,6 +7,9 @@ using namespace Napi;
#if defined(BUILD_MAIN_WORD)
Object Init(Env env, Object exports)
{
#ifdef RELEASE_VERSION
exports.Set("__release__", Napi::String::New(env, RELEASE_VERSION));
#endif
// OnnxRuntime
#ifdef USE_ONNXRUNTIME
InstallOrtAPI(env, exports);