Open Samueru-sama opened 6 months ago
At this point I think we should just use the png and delete the svg. svg parsing is just too difficult...
At this point I think we should just use the png and delete the svg. svg parsing is just too difficult...
Can't there be a function that converts the svg to png for programs that don't ship a png in their builds?
That'd be ImageMagick I guess. You can run it before running fo-appimage's appimagetool deploy
.
This being said, we should make a nice error handler instead of just crashing.
I'm building an htop appimage and ran into this issue, it is caused because I'm using the included .svg as icon in the build, they also include a .png icon and when using the .png the issue doesn't happen.
I tested the continuos build and version 823, it happens with both. What's weird is that it only happens with this specific .svg icon as I haven't had this issue with other .svg in other appimages before.
Here is the error message:
And here is the script that is being used for the build: https://github.com/Samueru-sama/htop-AppImage/blob/main/htop-appimage.sh
Commenting out line 18 (+ commenting line 19) will cause appimagetool to fail when trying to make the appimage.
I get the same error when trying the script on my pc so it is not limited to the ubuntu runner.