SpacingBat3 / ReForged

A set of :electron: Electron Forge tools, makers and publishers.
https://spacingbat3.github.io/ReForged/
Other
26 stars 6 forks source link

Validation of PNG file fails in AppImage maker #6

Closed k2s closed 1 year ago

k2s commented 1 year ago

I have PNG file that fails your validation. The file is working with AppImage if I disable validation. Could you use image-type or file-type to perform validation?

SpacingBat3 commented 1 year ago

Couls you attach your PNG file to the issue? I will look for any oddities within it.

In the meantime, I will take a look if this happens to regular (i.e. any files that worked before) PNG files as well.

k2s commented 1 year ago
❯ file /tmp/i.png                                                          
/tmp/i.png: PNG image data, 32 x 32, 8-bit/color RGB, non-interlaced

i

SpacingBat3 commented 1 year ago

@k2s FYI, the previous header seem to be the same as the one used for XPM3. Looks like it was put there by the mistake, but now PNG image detection should work fine.