change file name to full path

This commit is contained in:
Pakin 2025-09-08 12:05:08 +07:00
parent 7be069e965
commit 052cddc48e

View file

@ -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)