context: Add program directory's path

This commit is contained in:
2026-01-13 15:30:30 +01:00
parent 8f7b735820
commit c4725847cc
3 changed files with 36 additions and 30 deletions

View File

@@ -33,6 +33,7 @@ typedef struct ctx {
std::shared_ptr<Selection> selection = nullptr;
std::shared_ptr<PaternsMenu> paterns_menu = nullptr;
nlohmann::json config_json;
std::filesystem::path program_dir;
} ctx;
} // namespace gol