Optimized configuration update notification

This commit is contained in:
QIDI TECH
2024-02-23 16:04:36 +08:00
parent 1eb7e979b0
commit 2046b2f21f
2 changed files with 7 additions and 1 deletions

View File

@@ -942,6 +942,11 @@ Updates PresetUpdater::priv::get_config_updates(const Semver &old_slic3r_version
new_update = Update(std::move(path_in_rsrc), std::move(bundle_path), *recommended, vp.name, vp.changelog_url, current_not_supported);
bundle_path_idx_to_install = path_idx_in_rsrc;
found = true;
//Y24
} else if (rsrc_vp.config_version > vp.config_version) {
new_update = Update(std::move(path_in_rsrc), std::move(bundle_path), *recommended, vp.name, vp.changelog_url, current_not_supported);
bundle_path_idx_to_install = path_idx_in_rsrc;
found = true;
} else {
BOOST_LOG_TRIVIAL(warning) << format("The recommended config version for vendor `%1%` in resources does not match the recommended\n"
" config version for this version of QIDISlicer. Corrupted installation?", idx.vendor());