mirror of
https://github.com/N64Recomp/N64Recomp.git
synced 2025-05-17 17:04:52 +00:00
Merge 9f9d0b532d
into 989a86b369
This commit is contained in:
commit
fdbb746053
1 changed files with 2 additions and 2 deletions
|
@ -974,11 +974,11 @@ bool create_mod_zip(const std::filesystem::path& output_dir, const ModConfig& co
|
|||
#ifdef _WIN32
|
||||
std::filesystem::path temp_zip_path = output_path;
|
||||
temp_zip_path.replace_extension(".zip");
|
||||
std::string command_string = fmt::format("powershell -command Compress-Archive -Force -CompressionLevel Optimal -DestinationPath \"{}\" -Path \"{}\",\"{}\",\"{}\"",
|
||||
std::string command_string = fmt::format("powershell -command Compress-Archive -Force -CompressionLevel Optimal -DestinationPath '{}' -Path '{}','{}','{}'",
|
||||
temp_zip_path.string(), (output_dir / symbol_filename).string(), (output_dir / binary_filename).string(), (output_dir / manifest_filename).string());
|
||||
|
||||
for (const auto& cur_file : config.inputs.additional_files) {
|
||||
command_string += fmt::format(",\"{}\"", cur_file.string());
|
||||
command_string += fmt::format(",'{}'", cur_file.string());
|
||||
}
|
||||
|
||||
STARTUPINFOA si{};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue