feat: Update 3 files
This commit is contained in:
@@ -95,6 +95,14 @@ namespace dropshell
|
||||
return std::string();
|
||||
}
|
||||
|
||||
std::string user_local_bin()
|
||||
{
|
||||
std::string home = current_user_home();
|
||||
if (home.empty())
|
||||
return "";
|
||||
return home + "/.local/bin";
|
||||
}
|
||||
|
||||
std::string backups()
|
||||
{
|
||||
if (!gConfig().is_config_set())
|
||||
|
@@ -68,6 +68,7 @@ namespace dropshell {
|
||||
std::string agent_local();
|
||||
std::string agent_remote();
|
||||
std::string current_user_home();
|
||||
std::string user_local_bin(); // ~/.local/bin directory for user executables
|
||||
|
||||
std::string backups();
|
||||
std::string temp_files();
|
||||
|
Reference in New Issue
Block a user