-
-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build a snapcraft.io package #1593
Comments
This builds by adding a |
We're already having problems with the AppImage and windows builds. It feels like it's just adding an option to electron builder but in reality it's nothing that easy. The AppImage is lacking dependencies and whatnot. Also i'm neither using snap or flatpak and don't really want to maintain another platform. If somebody maintains it i'm happy to get it in. |
Resulting snap package does not work for me:
|
Best would be to find someone who is interested in properly maintaining
this, and preferably out of the main repo like flatpak is imho. I was
only playing with it a bit to see if I could gets something to work
easily, turns out not.
|
Looks like electron-builder is doing it wrong. It is better to build it on Ubuntu 20.04 with snapcraft and https://multipass.run/ and then hand it over to CI, rather than building on dev machines. |
Electron Forge also supports Snapcraft: https://www.electronforge.io/config/makers/snapcraft |
There is now an unofficial snap package at https://snapcraft.io/deltachat-desktop |
Let's reopen it to track necessary fixes. Repository with snapcraft.yml: https://github.com/nbuechner/deltachat-snap/ Currently snap is built with a patch to disable tray icon: 4c2b269 / nbuechner@4c2b269 Probably makes sense to look at signal-desktop snap: https://github.com/snapcrafters/signal-desktop Related issue about not visible tray icon: snapcrafters/signal-desktop#87 cc @nbuechner |
@nbuechner Could you try the solution proposed in signalapp/Signal-Desktop#6243 (comment) ? Currently you install libappindicator: https://github.com/nbuechner/deltachat-snap/blob/8416dda9a94ec92cd906d588c53644b64f3acb52/snapcraft.yaml#L36 |
if the tray icon stuff is still an issue, then please file and track it under the community snap issue tracker (https://github.com/nbuechner/deltachat-snap/) unless there is sth. to do in this repo. |
electron-builder seems to be able to build snap packages: https://snapcraft.io/docs/electron-apps
The text was updated successfully, but these errors were encountered: