更新 'src/Main/options.cxx'

next
zhongjin 3 weeks ago
parent 2640e97a27
commit 648c2146a2

@ -2922,16 +2922,15 @@ OptionResult Options::processOptions()
//zhongjin Addon //zhongjin Addon
const auto& addonManager = addons::AddonManager::instance(); const auto& addonManager = addons::AddonManager::instance();
/*
SGPath addonPath = globals->get_fg_root(); SGPath addonPath = globals->get_fg_root();
addonPath.append("Addon/RedGriffinATC"); addonPath.append("Addon/fgcom-mumble");
try { try {
addonManager->registerAddon(addonPath); addonManager->registerAddon(addonPath);
} catch (const sg_exception &e) { } catch (const sg_exception &e) {
string msg = "Error registering an add-on: " + e.getFormattedMessage(); string msg = "Error registering an add-on: " + e.getFormattedMessage();
SG_LOG(SG_GENERAL, SG_ALERT, msg); SG_LOG(SG_GENERAL, SG_ALERT, msg);
} }
*/
SGPath addonPath = globals->get_fg_root(); SGPath addonPath = globals->get_fg_root();
addonPath.append("Addon/addon-littlenavmap"); addonPath.append("Addon/addon-littlenavmap");

Loading…
Cancel
Save