Updating: Start using proper URLs

This commit is contained in:
Vojtech Kral 2018-04-25 17:43:01 +02:00
parent 03e9da804a
commit dce0aa6771
4 changed files with 15 additions and 6 deletions

View file

@ -92,9 +92,14 @@ public:
// Get the default config path from Slic3r::data_dir().
static std::string config_path();
// Returns true if the user's data directory comes from before Slic3r 1.40.0 (no updating)
bool legacy_datadir() const { return m_legacy_datadir; }
// 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;
// Does the config file exist?
static bool exists();