Merge pull request #3494 from yangyingchao/master

fix #3490: expand menu file before opening it
This commit is contained in:
Alexis Rouillard
2024-08-05 09:51:35 +02:00
committed by GitHub
3 changed files with 16 additions and 2 deletions

View File

@ -20,6 +20,9 @@ class Config {
static std::optional<std::string> findConfigPath(
const std::vector<std::string> &names, const std::vector<std::string> &dirs = CONFIG_DIRS);
static std::optional<std::string> tryExpandPath(const std::string &base,
const std::string &filename);
Config() = default;
void load(const std::string &config);