When building an rpm, ~/rpmbuild/BUILDROOT/cosmic-ext-applet-ollama-0.1.0\~git20240615.22.34630f3-1.fc40.x86_64/usr/share/icons/hicolor/scalable/apps is used for the icon. Ie, apps will be a file instead of a dir. I think this doesn't happens when using just install outside of a rpm build because the apps folder already exist.
When building an rpm,
~/rpmbuild/BUILDROOT/cosmic-ext-applet-ollama-0.1.0\~git20240615.22.34630f3-1.fc40.x86_64/usr/share/icons/hicolor/scalable/apps
is used for the icon. Ie,apps
will be a file instead of a dir. I think this doesn't happens when usingjust install
outside of a rpm build because theapps
folder already exist.