feat: Update 14 and remove 1 files
All checks were successful
Build-Test-Publish / build (linux/amd64) (push) Successful in 44s
Build-Test-Publish / build (linux/arm64) (push) Successful in 3m32s

This commit is contained in:
j
2025-12-30 11:25:22 +13:00
parent 9ff9596c8a
commit 30c4077109
15 changed files with 40 additions and 191 deletions

View File

@@ -175,6 +175,11 @@ namespace dropshell
return remotepath(mServer_name, mUser).DROPSHELL_DIR() + "/" + filenames::server_info_env;
}
std::string remotefile::ds_run()
{
return remotepath(mServer_name,mUser).agent() + "/" + filenames::ds_run;
}
remotepath::remotepath(const std::string &server_name, const std::string &user) : mServer_name(server_name), mUser(user) {}
std::string remotepath::DROPSHELL_DIR() const

View File

@@ -48,6 +48,7 @@ namespace dropshell {
static const std::string readme = "README.txt";
static const std::string server_json = "server.json";
static const std::string dropshell_json = "dropshell.json";
static const std::string ds_run = "ds_run.sh";
} // namespace filenames.
namespace localfile {
@@ -105,6 +106,7 @@ namespace dropshell {
std::string service_env(const std::string &service_name) const;
std::string server_json();
std::string server_info_env();
std::string ds_run();
private:
std::string mServer_name;
std::string mUser;