Merge pull request #2 from xuanplus/patch-1

Update main.rs to remove quotes
This commit is contained in:
2025-03-22 11:15:39 +08:00
committed by GitHub

View File

@@ -39,7 +39,9 @@ fn main_entry() -> eyre::Result<()> {
.default("re_chunk_000.pak.sub_000.pak".to_string()) .default("re_chunk_000.pak.sub_000.pak".to_string())
.with_prompt("Input .pak file path") .with_prompt("Input .pak file path")
.interact_text() .interact_text()
.unwrap(); .unwrap()
.trim_matches(|c| c == '\"' || c == '\'')
.to_string();
let input_path = Path::new(&input); let input_path = Path::new(&input);
if !input_path.is_file() { if !input_path.is_file() {