mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-08-06 09:37:55 +00:00
Add CI\CD step to prepare cache file in ahead of time so user does not need to wait
This commit is contained in:
@@ -116,6 +116,12 @@ std::string SystemPresetsCache::cache_path()
|
||||
.make_preferred().string();
|
||||
}
|
||||
|
||||
std::string SystemPresetsCache::bundled_cache_path()
|
||||
{
|
||||
return (boost::filesystem::path(resources_dir()) / "profiles" / "system_presets_cache.cache")
|
||||
.make_preferred().string();
|
||||
}
|
||||
|
||||
bool SystemPresetsCache::is_valid(const std::string& system_dir) const
|
||||
{
|
||||
if (format_version != FORMAT_VERSION)
|
||||
|
||||
Reference in New Issue
Block a user