fix: default enable-ota flag and fixing startup missing vendor

This commit is contained in:
Ian Chua
2026-09-03 17:13:09 +08:00
parent c5952c3308
commit 07dafaf299
2 changed files with 5 additions and 3 deletions

View File

@@ -638,6 +638,11 @@ void AppConfig::set_defaults()
set_bool("use_printer_agents", false);
}
if (get("enable_ota").empty())
{
set_bool("enable_ota", false);
}
// Remove legacy window positions/sizes
erase("app", "main_frame_maximized");
erase("app", "main_frame_pos");

View File

@@ -1090,9 +1090,6 @@ void PresetUpdater::priv::check_installed_vendor_profiles() const
AppConfig *app_config = GUI::wxGetApp().app_config;
if (!app_config->get_bool("enable_ota"))
return;
const auto enabled_vendors = app_config->vendors();
std::set<std::string> bundles;