From 46e20372ca565d8571a43fc0fd41ff657023245c Mon Sep 17 00:00:00 2001 From: zhongjin Date: Mon, 27 Feb 2023 21:09:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'src/Main/options.cxx'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Main/options.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Main/options.cxx b/src/Main/options.cxx index aa20815..c073ba2 100644 --- a/src/Main/options.cxx +++ b/src/Main/options.cxx @@ -2922,17 +2922,18 @@ OptionResult Options::processOptions() //zhongjin Addon const auto& addonManager = addons::AddonManager::instance(); +/* SGPath addonPath = globals->get_fg_root(); addonPath.append("Addon/RedGriffinATC"); - try { addonManager->registerAddon(addonPath); } catch (const sg_exception &e) { string msg = "Error registering an add-on: " + e.getFormattedMessage(); SG_LOG(SG_GENERAL, SG_ALERT, msg); } +*/ - addonPath = globals->get_fg_root(); + SGPath addonPath = globals->get_fg_root(); addonPath.append("Addon/addon-littlenavmap"); try {