Answer the question
In order to leave comments, you need to log in
How to properly build for snap (snapcraft.yaml)?
Someone fumbles how to properly build for snap (snapcraft.yaml)?
Bottom line: there is a ready-made binary from https://gitlab.com/go-apps-XnjRcS/password-generator , which needs to be packed into a snap, but I have not yet figured out how to do it correctly. I am getting runtime errors related to gtk. Link to snapcraft.yaml https://gist.github.com/7274b07cb1491b79005e28a6f6...
Answer the question
In order to leave comments, you need to log in
I suppose it should be enough to simply write extension there (if the program eventually "communicates" with gtk / qt, and does not hang directly on bare x's). Well, prescribe the appropriate launcher (without it, there are usually various strange special effects, such as the inability to log in). Something like:
apps:
my-part:
command: desktop-launch $SNAP/bin/passgen2
extensions:
- gnome-3-28
...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question