Snap package

This folder contains files to build a snap package. First make sure you install snap and snapcraft (snap install snapcraft --classic).

To build the snap, cd to the snap folder and run:

snapcraft
snap install ./onionshare_*.snap

See your installed snaps:

snap list

Run the OnionShare snap:

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

Delete the OnionShare snap:

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