Change snap to strict mode, and update readme

This commit is contained in:
Micah Lee 2020-11-03 22:53:54 -08:00
parent 01841eb4f2
commit 68347039c9
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73
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`).
To build the snap, run:
Build and install the snap::
```sh
snapcraft
snap install --devmode ./onionshare_*.snap
```
See your installed snaps:
```sh
snap list
```
``
Run the OnionShare snap:
@ -128,7 +122,7 @@ Run the OnionShare snap:
/snap/bin/onionshare.cli # CLI version
```
Delete the OnionShare snap:
Delete the snap:
```sh
snap remove onionshare

View File

@ -9,7 +9,7 @@ description: |
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
confinement: devmode # use 'strict' once you have the right plugs and slots
confinement: strict
apps:
onionshare: