feat: Update 3 files
All checks were successful
Build-Test-Publish / build (linux/amd64) (push) Successful in 57s
Build-Test-Publish / build (linux/arm64) (push) Successful in 3m47s

This commit is contained in:
Your Name
2025-09-01 19:37:05 +12:00
parent d07acbd732
commit 6b6ccd4075
3 changed files with 66 additions and 7 deletions

View File

@@ -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())

View File

@@ -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();