check for new version rework, support "check for stable updates only" mode

This commit is contained in:
SoftFever 2023-12-29 12:04:40 +08:00
parent f89932f63e
commit 63f9b3b1ba
6 changed files with 98 additions and 76 deletions

View file

@ -247,7 +247,7 @@ public:
// Get the Slic3r version check url.
// This returns a hardcoded string unless it is overriden by "version_check_url" in the ini file.
std::string version_check_url() const;
std::string version_check_url(bool stable_only = false) const;
// Returns the original Slic3r version found in the ini file before it was overwritten
// by the current version