ENH: Updater: always update plugin to the newest compatible version

Change-Id: Icec343ba4913b9738add9564c78934553a33336c
This commit is contained in:
lane.wei 2022-11-19 14:17:04 +08:00 committed by Lane.Wei
parent 9d85a7f216
commit fcf490028a
4 changed files with 115 additions and 14 deletions

View file

@ -26,7 +26,7 @@ public:
~PresetUpdater();
// If either version check or config updating is enabled, get the appropriate data in the background and cache it.
void sync(std::string http_url, std::string language, PresetBundle *preset_bundle);
void sync(std::string http_url, std::string language, std::string plugin_version, PresetBundle *preset_bundle);
// If version check is enabled, check if chaced online slic3r version is newer, notify if so.
void slic3r_update_notify();