aboutsummaryrefslogtreecommitdiff
path: root/snap/README.md
blob: 074cdb13474e7c4b8191147192fbb76279365a30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Snap package

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, cd to the `snap` folder and run:

```sh
snapcraft
snap install ./onionshare_*.snap
```

See your installed snaps:

```sh
snap list
```

Run the OnionShare snap:

```sh
/snap/bin/onionshare      # CLI version
/snap/bin/onionshare-gui  # GUI version
```

Delete the OnionShare snap:

```sh
snap remove onionshare
```

## Making a new release

In `snapcraft.yaml`:

- Update `version`
- Update the `onionshare` part to use the correct tag
- Update `Qt5`, `tor`, `libevent`, and `obfs4` dependencies, if necessary