From 052cddc48e6b0ed6a221af6e11175be033f12653 Mon Sep 17 00:00:00 2001 From: Pakin Date: Mon, 8 Sep 2025 12:05:08 +0700 Subject: [PATCH] change file name to full path --- src/firmware/xbuilder.rs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/firmware/xbuilder.rs b/src/firmware/xbuilder.rs index 28cb753..c7ce4a6 100644 --- a/src/firmware/xbuilder.rs +++ b/src/firmware/xbuilder.rs @@ -33,14 +33,7 @@ impl Peekable for LastBuildFirmware { for file2 in ar.entries().unwrap() { let f = file2.unwrap(); - peeked.push( - f.path() - .unwrap() - .file_name() - .unwrap() - .to_string_lossy() - .to_string(), - ); + peeked.push(f.path().unwrap().as_os_str().to_string_lossy().to_string()); } Ok(peeked)