mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 17:27:52 -06:00
Fixed update logic to support newer index downloaded from the internet
than the index stored in the resources.
This commit is contained in:
parent
ece8e06914
commit
d0aad74c27
3 changed files with 98 additions and 42 deletions
|
@ -79,6 +79,8 @@ public:
|
|||
VendorProfile() {}
|
||||
VendorProfile(std::string id) : id(std::move(id)) {}
|
||||
|
||||
bool valid() const { return ! name.empty() && ! id.empty() && config_version.valid(); }
|
||||
|
||||
// Load VendorProfile from an ini file.
|
||||
// If `load_all` is false, only the header with basic info (name, version, URLs) is loaded.
|
||||
static VendorProfile from_ini(const boost::filesystem::path &path, bool load_all=true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue