donut icon indicating copy to clipboard operation
donut copied to clipboard

Add snap package. https://snapcraft.io

Open flexiondotorg opened this issue 7 years ago • 1 comments

I've put together this pull request to add a snap package. I've tested it on Ubuntu 18.04 (daily) and 16.04, but it should work just as well on Ubuntu 14.04, Linux Mint, Manjaro, Debian, OpenSUSE, Solus, etc.

If you merge and npm run dist on an Ubuntu 16.04 VM with an appropriate version of node installed it will create dist/donut_2.4.0_amd64.snap.

Copy this to a Linux system, enable snap support, then run: sudo snap install --dangerous donut_2.4.0_amd64.snap. Execute it with donut from the terminal or find it in the desktop launcher.

If you create a developer account and push this to the Snap Store, it can be discovered and installed through GNOME Software and https://snapcraft.io/discover. To create the developer account, sign up here, then register the "donut" name.

You'll need the snapcraft command to push the snap file to the store.

  • If you're on a Mac, you can brew install snapcraft
  • If you're on Linux, it's sudo snap install --classic snapcraft

Then you can push it to the store out with: snapcraft push donut_2.4.0_amd64.snap --release stable

(You can also push to the Snap Store programatically from Travis.)

flexiondotorg avatar Jan 05 '18 12:01 flexiondotorg

@flexiondotorg Thanks for the PR. It seems it is failing on linux: https://travis-ci.org/EtherbitHQ/donut/jobs/325427879

harshjv avatar May 24 '18 08:05 harshjv