-
Notifications
You must be signed in to change notification settings - Fork 273
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
[enhancement req] Snap Package #1015
Comments
A snap or flatpak could be usefull for non-deb distros too. |
DuckieTV has no auto-update mechanism, I prefer a snap version over the deb for this reason. |
Snaps are pretty bad atm. Like alpha quality software or worse, they are slow, buggy and theming doesn't work a lot of the time (even the default theme, you use a dialog or filepicker and the whole thing is all deformed). Flatpak seems to be the best choice. There's https://github.com/flatpak/flatpak-docs/blob/master/docs/electron.rst but I couldn't find an example for nwjs. You can also improvise https://github.com/flathub/com.spotify.Client/blob/master/com.spotify.Client.json#L117 |
Needs https://github.com/flathub/shared-modules {
"app-id": "tv.duckie.DuckieTV",
"runtime": "org.freedesktop.Platform",
"runtime-version": "18.08",
"sdk": "org.freedesktop.Sdk",
"command": "DuckieTV",
"finish-args": [
"--device=dri",
"--share=network",
"--share=ipc",
"--socket=x11",
"--socket=wayland",
"--socket=pulseaudio",
"--filesystem=xdg-config/DuckieTV-Standalone"
],
"modules": [
"shared-modules/glu/glu-9.0.0.json",
"shared-modules/udev/udev-175.json",
{
"name": "DuckieTV",
"buildsystem": "simple",
"build-commands": [
"tar xvf DuckieTV*.tar.gz",
"rm DuckieTV-201811280130-linux-x64.tar.gz",
"mv DuckieTV/* /app/bin",
"chmod 0755 /app/bin/DuckieTV"
],
"sources": [
{
"type": "file",
"url": "https://github.com/DuckieTV/Nightlies/releases/download/nightly-201811280130/DuckieTV-201811280130-linux-x64.tar.gz",
"sha256": "2c2ae3724f11ae99eecd568e0495f5942be5cff6bf567272857a784a7afc88b9"
}
]
}
]
}
If the sandbox gives any trouble
I'm not a dev but I think it would work just fine. I have no idea how to configure the shortcuts and icons but I did what I could to help |
I've ended up writing the snapcraft.yaml file by myself, seems to work well, but I'll have to try various torrent clients to see if those works and see if it's generally stable.
|
Hello DuckieTV team, have you considered providing a snap(https://snapcraft.io/) package for DuckieTV this way it could gain exposure in the Software Center, it would make it easier to install and available to more distros?
https://pusher.com/sessions/meetup/london-node-user-group/automatically-build-and-publish-node-and-electron-applications-for-linux
https://github.com/electron-userland/electron-builder
P.S: I'm just a user, I'm not involved with Canonical, it's just that I have to check everytime to see if a new version of DuckieTV is out and download the deb again and again
The text was updated successfully, but these errors were encountered: