fix: do not copy whole dirs (doesnt work on nix-store)

This commit is contained in:
2025-12-09 15:46:17 +03:00
parent 7535bb51ce
commit 44a34eb216
3 changed files with 60 additions and 13 deletions

View File

@@ -42,6 +42,8 @@ class config
std::string m_palettes_dir{};
std::unique_ptr<io::file> m_file;
std::unordered_map<std::string, theme_template> m_themes{};
static void copy_file(const std::filesystem::path& src, const std::filesystem::path& dst);
static void copy_dir(const std::filesystem::path& src, const std::filesystem::path& dst);
void copy_default_configs();
};
} // namespace clrsync::core