Hello. I have a snapcraft.yaml file along with a sibling ‘gui’ folder here:
It used to automatically install the .desktop file (and png) but for some reason the prime/meta dir is empty now except for the snap.yaml. The docs indicate
“When you run
snapcraft , the entire contents of
snap/gui will be copied into the
meta/gui/ folder of the resulting snap.”
If I manually copy the files to prime/meta/gui (in the VM shell), and then run snapcraft, it appears to remove the .desktop file. I tried installing the resulting snap (in Ubuntu) just to be sure… but no .desktop file in /var/lib/snapd/desktop/applications/
The odd thing is this used to work. I’ve probably bunged something up, but no idea what. Using snapcraft 4.4.1 stable with core20.
Thanks for any help.