Add CI\CD step to prepare cache file in ahead of time so user does not need to wait

This commit is contained in:
ExPikaPaka
2026-06-15 09:19:53 +02:00
committed by SoftFever
parent 25b1577c45
commit 6b3e4f18e1
6 changed files with 149 additions and 0 deletions

View File

@@ -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)