feat: Update 2 files
All checks were successful
Build-Test-Publish / build (linux/arm64) (push) Successful in 1m4s
Build-Test-Publish / build (linux/amd64) (push) Successful in 1m47s

This commit is contained in:
Your Name
2025-09-08 20:08:32 +12:00
parent af3f045732
commit ff4c0e9d54
2 changed files with 7 additions and 3 deletions

View File

@@ -160,7 +160,7 @@ namespace dropshell
std::string template_info_env_file = localfile::template_info_env(server_name,service_name);
ASSERT(std::filesystem::exists(template_info_env_file), "Template info env file not found: " + template_info_env_file);
std::ofstream template_info_env_file_out(template_info_env_file, std::ios::app); // append to the file.
template_info_env_file_out << "TEMPLATE_HASH=" << tinfo.hash() << std::endl;
template_info_env_file_out << std::endl << "TEMPLATE_HASH=" << tinfo.hash() << std::endl;
template_info_env_file_out.close();
@@ -267,7 +267,7 @@ namespace dropshell
// append TEMPLATE_HASH to the .template_info.env file
ASSERT(std::filesystem::exists(target_template_info_env_file), "Template info env file not found: " + target_template_info_env_file);
std::ofstream template_info_env_file_out(target_template_info_env_file, std::ios::app); // append to the file.
template_info_env_file_out << "TEMPLATE_HASH=" << tinfo.hash() << std::endl;
template_info_env_file_out << std::endl << "TEMPLATE_HASH=" << tinfo.hash() << std::endl;
template_info_env_file_out.close();
return true;