更新 'src/Main/options.cxx'
This commit is contained in:
parent
467bf2245a
commit
46e20372ca
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user