diff --git a/src/Tools/psxfileconv/src/lib.rs b/src/Tools/psxfileconv/src/lib.rs index 49771445..8d5ca820 100644 --- a/src/Tools/psxfileconv/src/lib.rs +++ b/src/Tools/psxfileconv/src/lib.rs @@ -56,6 +56,9 @@ pub fn run_subcommand(compress_lz4: bool, input_path: Option, output_pa } SubCommands::Project(args) => { project::run_project(input, args, input_path, &output_path)?; + if let Some(file_path) = &output_path { + let _result = std::fs::remove_file(file_path); + } Ok(None) }, }