create windows installed with nsis

This commit is contained in:
2025-12-08 16:00:35 +03:00
parent 264fc6ce54
commit 2220bfb5de
5 changed files with 73 additions and 3 deletions

View File

@@ -28,7 +28,7 @@ void palette_controller::select_palette(const std::string& name)
void palette_controller::create_palette(const std::string& name)
{
clrsync::core::palette new_palette = m_palette_manager.load_palette_from_file(std::string(CLRSYNC_DATADIR) + "/palettes/cursed.toml");
clrsync::core::palette new_palette = m_palette_manager.load_palette_from_file(clrsync::core::config::get_data_dir().string() + "/palettes/cursed.toml");
new_palette.set_name(name);
auto dir = clrsync::core::config::instance().palettes_path();