onionshare/snap
2020-06-30 17:45:10 -07:00
..
qt-installer-script.js Successfully install Qt5, attempt to get onionshare python deps installed 2020-05-06 16:05:48 -07:00
README.md Update snapcraft readme 2020-06-30 17:45:10 -07:00
snapcraft.yaml Switch from scripts to entrypoints in setup.py; remove python-packages from snap because they are defined in poetry; fix onionshare and onionshare-gui snap apps definition; switch back to download Qt5 from the internet 2020-05-07 17:14:48 -07:00

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