From 54ccb2de06fcb9fc0dbf0f1e943f4f7f4be0a6dc Mon Sep 17 00:00:00 2001 From: Daniil-Golikov Date: Mon, 9 Oct 2023 10:46:39 +1100 Subject: [PATCH] compressor outputs .bin --- brro-compressor/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brro-compressor/src/main.rs b/brro-compressor/src/main.rs index 0651568..5bd5c8c 100644 --- a/brro-compressor/src/main.rs +++ b/brro-compressor/src/main.rs @@ -30,7 +30,7 @@ fn process_args(input_path: &str, arguments: &Args) { compressed = compressor::constant::constant(&optimizer_results_f); } - let file_name = writer::replace_extension(&files.names[index], "txt)"); + let file_name = writer::replace_extension(&files.names[index], "bin"); let new_path = base_dir.join(&file_name); let mut file = writer::create_streaming_writer(&new_path).expect("TODO: panic message"); writer::write_data_to_stream(&mut file, &compressed).expect("Failed to write compressed data");