This is my GitHub repo with the app.
How to add custom SVG icons to GResource to embed them to the app?
I tried to write this in src/lrcmake.gresource.xml
file, but all icons are replaced by icon-missing
I store icons sources files in src/gtk/icons
<?xml version="1.0" encoding="UTF-8"?>
<gresources>
<gresource prefix="/com/github/dzheremi/lrcmake">
<file preprocess="xml-stripblanks">gtk/window.ui</file>
<file preprocess="xml-stripblanks">gtk/components/noDirSelectedGreeting.ui</file>
<file preprocess="xml-stripblanks">gtk/components/songCard.ui</file>
<file preprocess="xml-stripblanks">gtk/components/fileDetails.ui</file>
<file preprocess="xml-stripblanks">gtk/components/syncLine.ui</file>
<file alias="style.css">gtk/css/style.css</file>
</gresource>
<gresource prefix="/com/github/dzheremi/lrcmake">
<file alias="publish-symbolic.svg">gtk/icons/share-symbolic.svg</file>
<file alias="lyrics-symbolic.svg">gtk/icons/lyrics-symbolic.svg</file>
<file alias="dir-open-symbolic.svg">gtk/icons/folder-open-symbolic.svg</file>
</gresource>
</gresources>