mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-29 15:53:38 -05:00
29 lines
484 B
Markdown
29 lines
484 B
Markdown
|
# 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
|
||
|
```
|
||
|
|
||
|
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
|
||
|
```
|