Fix config path.

This commit is contained in:
Your Name
2025-04-28 21:14:46 +12:00
parent 76efe77e85
commit e258726829
4 changed files with 8 additions and 8 deletions

View File

@ -114,7 +114,7 @@ int main(int argc, char* argv[]) {
}
if (cmd == "edit" && argc < 3) {
std::string config_file = dropshell::localfile::dropshell_conf();
std::string config_file = dropshell::localfile::dropshell_env();
std::filesystem::create_directories( dropshell::get_parent(config_file) );
dropshell::edit_file(config_file, "Please ensure any directories you have introduced in the config file exist.");
return 0;