From 108d8bce921589a10edc75a66d1c360e9666dd53 Mon Sep 17 00:00:00 2001 From: Haoxuan Di Date: Sat, 22 Mar 2025 11:11:43 +0800 Subject: [PATCH] Update main.rs remove quotes for dropping file to terminal --- src/main.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index ffdd2aa..2202253 100644 --- a/src/main.rs +++ b/src/main.rs @@ -39,7 +39,9 @@ fn main_entry() -> eyre::Result<()> { .default("re_chunk_000.pak.sub_000.pak".to_string()) .with_prompt("Input .pak file path") .interact_text() - .unwrap(); + .unwrap() + .trim_matches(|c| c == '\"' || c == '\'') + .to_string(); let input_path = Path::new(&input); if !input_path.is_file() {