summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2020-11-03 22:53:54 -0800
committerMicah Lee <micah@micahflee.com>2020-11-03 22:53:54 -0800
commit68347039c9547d0190e6809780e372d43f5a890b (patch)
tree82c3cfdd4f4f220d7472391b349178f37e720d7e
parent01841eb4f26013ae2a0367f2bab3367a02a73eb8 (diff)
downloadonionshare-68347039c9547d0190e6809780e372d43f5a890b.tar.gz
onionshare-68347039c9547d0190e6809780e372d43f5a890b.zip
Change snap to strict mode, and update readme
-rw-r--r--desktop/README.md12
-rw-r--r--snap/snapcraft.yaml2
2 files changed, 4 insertions, 10 deletions
diff --git a/desktop/README.md b/desktop/README.md
index 78c33571..7ababb6c 100644
--- a/desktop/README.md
+++ b/desktop/README.md
@@ -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
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 2b7fd46e..7c7dcf30 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -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: