From 736027d66eac4446fa8bb81186542b8f3a610829 Mon Sep 17 00:00:00 2001 From: Alexander Tarasov Date: Tue, 18 Mar 2025 17:57:39 +0300 Subject: [PATCH] moved build_romfs and build_pfs0 outside temp dir --- src/main.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.rs b/src/main.rs index 9b2ed8a..03608b7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -98,14 +98,14 @@ fn main() -> Result<(), Error> { copy(&manifest_path, temp_path.join("manifest"))?; #[cfg(target_os = "windows")] - let build_romfs_path = temp_path.join("build_romfs.exe"); + let build_romfs_path = current_dir.join("build_romfs.exe"); #[cfg(target_os = "windows")] - let build_pfs0_path = temp_path.join("build_pfs0.exe"); + let build_pfs0_path = current_dir.join("build_pfs0.exe"); #[cfg(not(target_os = "windows"))] - let build_romfs_path: PathBuf = temp_path.join("build_romfs"); + let build_romfs_path: PathBuf = current_dir.join("build_romfs"); #[cfg(not(target_os = "windows"))] - let build_pfs0_path: PathBuf = temp_path.join("build_pfs0"); + let build_pfs0_path: PathBuf = current_dir.join("build_pfs0"); let mut build_romfs_file: File = File::create(&build_romfs_path)?; build_romfs_file.write_all(BUILD_ROMFS_BIN)?;