| 496 | } |
| 497 | |
| 498 | toml::array string_vector_to_toml(const std::vector<std::string>& input) { |
| 499 | toml::array ret{}; |
| 500 | for (const std::string& str : input) { |
| 501 | ret.emplace_back(str); |
| 502 | } |
| 503 | return ret; |
| 504 | } |
| 505 | |
| 506 | void write_manifest(const std::filesystem::path& path, const ModManifest& manifest) { |
| 507 | toml::table output_data{}; |