mirror of
https://github.com/onionshare/onionshare.git
synced 2025-10-11 12:48:47 -04:00
Merge branch '1111_snap' into briefcase-snap
This commit is contained in:
commit
4877773b61
6 changed files with 168 additions and 93 deletions
|
@ -95,6 +95,40 @@ xvfb-run ./tests/run.sh
|
|||
|
||||
## Making a release
|
||||
|
||||
### Flatpak packaging
|
||||
|
||||
See: https://github.com/micahflee/org.onionshare.OnionShare
|
||||
|
||||
### Snapcraft packaging
|
||||
|
||||
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 `onionshare` folder and run:
|
||||
|
||||
```sh
|
||||
snapcraft
|
||||
snap install --devmode ./onionshare_*.snap
|
||||
```
|
||||
|
||||
See your installed snaps:
|
||||
|
||||
```sh
|
||||
snap list
|
||||
```
|
||||
|
||||
Run the OnionShare snap:
|
||||
|
||||
```sh
|
||||
/snap/bin/onionshare # CLI version
|
||||
/snap/bin/onionshare.onionshare-gui # GUI version
|
||||
```
|
||||
|
||||
Delete the OnionShare snap:
|
||||
|
||||
```sh
|
||||
snap remove onionshare
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
Build a wheel package for OnionShare CLI:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue