change PNKX_NAV_CORE_LIBRARY_PATH

This commit is contained in:
2026-03-20 04:43:29 +00:00
parent aa63caa188
commit 76ee97f2ec

View File

@@ -338,7 +338,7 @@ std::string PluginLoaderHelper::getBuildDirectory()
std::string PluginLoaderHelper::getWorkspacePath() std::string PluginLoaderHelper::getWorkspacePath()
{ {
// Method 1: Từ environment variable PNKX_NAV_CORE_DIR // Method 1: Từ environment variable PNKX_NAV_CORE_DIR
const char* workspace_path = std::getenv("PNKX_NAV_CORE_DIR"); const char* workspace_path = std::getenv("PNKX_NAV_CORE_LIBRARY_PATH");
if (workspace_path && std::filesystem::exists(workspace_path)) { if (workspace_path && std::filesystem::exists(workspace_path)) {
return std::string(workspace_path); return std::string(workspace_path);
} }