...
Some checks failed
Dropshell Test / Build_and_Test (push) Has been cancelled

This commit is contained in:
Your Name
2025-05-17 11:12:33 +12:00
parent 93e563948f
commit 985153377f
4 changed files with 37 additions and 27 deletions

View File

@ -66,7 +66,12 @@ namespace localpath {
std::string agent(){
return current_user_home() + "/.local/dropshell_agent";
}
std::string current_user_home(){
std::string files_for_remote_agent()
{
return agent() + "/files_for_remote_agent";
}
std::string current_user_home()
{
char * homedir = std::getenv("HOME");
if (homedir)
{