pi-safe icon indicating copy to clipboard operation
pi-safe copied to clipboard

Fix image size parsing for xz method

Open HovnovoD opened this issue 3 months ago • 0 comments

Hi,

I found an issue in the script related to the xz method. The output contained special characters, which caused the image size to display incorrectly. As a result, the RESTORE function would exit without writing to disk.

I modified the script so that only numeric characters are kept when parsing the size. This ensures both the RESTORE function and the image size display function work correctly.

I apologize for the confusion and for reopening the Pull Request, as I am still a beginner.

Thanks for the great script.

Regards HovnovoD

HovnovoD avatar Sep 17 '25 09:09 HovnovoD