Fix config path.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user