From 52911153d563a7938282017b5c31b04fcc9910d5 Mon Sep 17 00:00:00 2001 From: arabian Date: Sat, 10 Jan 2026 20:12:00 +0300 Subject: [PATCH] fix: copying issue on windows --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index ef01040..df1a65d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -75,7 +75,7 @@ int main(int argc, char *argv[]) remove_all(temp_dir); create_directory(temp_dir); - copy(manifest_path, temp_dir); + copy(manifest_path, temp_dir / "manifest"); vector all_items; list_items(input_path, all_items); @@ -95,7 +95,7 @@ int main(int argc, char *argv[]) if (in_array(name, FILES_TO_COPY) || (name.ends_with(".ips"))) { cout << "Found " << name << ", copying..." << endl; - copy(item, temp_dir); + copy(item, temp_dir / item.filename(), copy_options::overwrite_existing); continue; } }