change config location to .config insted of $home

This commit is contained in:
Nikola Petrov
2024-02-04 20:48:48 +01:00
parent 15ee96b17d
commit 7e3bd98ab9
2 changed files with 3 additions and 2 deletions

View File

@@ -195,7 +195,8 @@ std::optional<std::string> get_save_path()
}
fs::path userDirectory(homeDir);
userDirectory /= ".password_manager";
userDirectory /= ".config";
userDirectory /= "password_manager";
if (!fs::exists(userDirectory))
{