I was trying to snap this software DuckieTV, it’s using nwjs so I used the template that I found in this thread.
It works but sometimes (one every 5 times I open the program) it gets stuck loading instead of showing the calendar.
name: duckietv # you probably want to 'snapcraft register <name>'
version: '1.1.6' # just for humans, typically '1.2+git' or '1.3.2'
summary:
DuckieTV track your favorite tv-shows with semi-automagic torrent integration
description: |
DuckieTV is an application that takes care of TV-Show addicts by providing a personalized TV-Show calendar.
#icon: img/logo/icon256.png
grade: stable # must be 'stable' to release into candidate/stable channels
confinement: strict # use 'strict' once you have the right plugs and slots
parts:
duckietv:
# See 'snapcraft plugins'
plugin: dump
source: https://github.com/SchizoDuckie/DuckieTV.git
source-tag: 1.1.6
after:
- nwjs-support
- desktop-gtk3
nwjs:
plugin: dump
source: https://dl.nwjs.io/v0.35.5/nwjs-v0.35.5-linux-x64.tar.gz
apps:
duckietv:
command: desktop-launch $SNAP/nw
plugs:
- network
- network-bind
- x11
- wayland
- desktop
- opengl
- pulseaudio
- browser-support
- home
- gsettings
I have tried to update the package to the new core18 syntax but it seems that there are still some problems where occasionally the software can’t load its database and get stuck.