Without the desktop plug, launching the syncthing snap will not launch a browser window to the admin UI. Adding this one line will fix that. Tested here on my Ubuntu system with a build from tip of master.
37 lines
845 B
Plaintext
37 lines
845 B
Plaintext
name: syncthing
|
|
version: {{.Version}}
|
|
summary: Open Source Continuous File Synchronization
|
|
description: |
|
|
Syncthing replaces proprietary sync and cloud services with something open,
|
|
trustworthy and decentralized. Your data is your data alone and you deserve
|
|
to choose where it is stored, if it is shared with some third party and how
|
|
it's transmitted over the Internet.
|
|
architectures:
|
|
- build-on: [{{.HostArchitecture}}]
|
|
run-on: [{{.TargetArchitecture}}]
|
|
|
|
grade: {{.Grade}}
|
|
confinement: strict
|
|
|
|
apps:
|
|
syncthing:
|
|
command: syncthing
|
|
environment:
|
|
HOME: ${SNAP_USER_COMMON}
|
|
XDG_CONFIG_HOME: ${SNAP_USER_COMMON}
|
|
plugs:
|
|
- desktop
|
|
- home
|
|
- network
|
|
- network-bind
|
|
- removable-media
|
|
|
|
parts:
|
|
syncthing:
|
|
source: .
|
|
plugin: dump
|
|
stage:
|
|
- syncthing
|
|
prime:
|
|
- syncthing
|