Change snap to strict mode, and update readme

This commit is contained in:
Micah Lee 2020-11-03 22:53:54 -08:00
parent e9b5bad905
commit 2fecbc5745
2 changed files with 4 additions and 10 deletions

View file

@ -108,18 +108,12 @@ See: https://github.com/micahflee/org.onionshare.OnionShare
This folder contains files to build a [snap package](https://snapcraft.io/). First make sure you install `snap` and `snapcraft` (`snap install snapcraft --classic`). This folder contains files to build a [snap package](https://snapcraft.io/). First make sure you install `snap` and `snapcraft` (`snap install snapcraft --classic`).
To build the snap, run: Build and install the snap::
```sh ```sh
snapcraft snapcraft
snap install --devmode ./onionshare_*.snap snap install --devmode ./onionshare_*.snap
``` ``
See your installed snaps:
```sh
snap list
```
Run the OnionShare snap: Run the OnionShare snap:
@ -128,7 +122,7 @@ Run the OnionShare snap:
/snap/bin/onionshare.cli # CLI version /snap/bin/onionshare.cli # CLI version
``` ```
Delete the OnionShare snap: Delete the snap:
```sh ```sh
snap remove onionshare snap remove onionshare

View file

@ -9,7 +9,7 @@ description: |
require setting up a separate server or using a third party file-sharing service. require setting up a separate server or using a third party file-sharing service.
grade: devel # must be 'stable' to release into candidate/stable channels grade: devel # must be 'stable' to release into candidate/stable channels
confinement: devmode # use 'strict' once you have the right plugs and slots confinement: strict
apps: apps:
onionshare: onionshare: