From 68347039c9547d0190e6809780e372d43f5a890b Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Tue, 3 Nov 2020 22:53:54 -0800 Subject: Change snap to strict mode, and update readme --- desktop/README.md | 12 +++--------- snap/snapcraft.yaml | 2 +- 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: -- cgit v1.2.3-54-g00ecf