diff --git a/src/firmware/xbuilder.rs b/src/firmware/xbuilder.rs index 4eb0c38..b2b9161 100644 --- a/src/firmware/xbuilder.rs +++ b/src/firmware/xbuilder.rs @@ -37,8 +37,7 @@ impl Peekable for LastBuildFirmware { .unwrap() .file_name() .unwrap() - .to_str() - .unwrap() + .to_string_lossy() .to_string(), ); }