Open
Conversation
Open
7 tasks
v187
approved these changes
Jul 13, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I've put together this pull request to add a snap package. I've tested it on Ubuntu 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 releaseon an Ubuntu 16.04 VM with an appropriate version of node installed it will createdist/graphiql-app_VERSION_amd64.snap.Copy this to a Linux system, enable snap support, then run:
sudo snap install --dangerous graphiql-app_VERSION_amd64.snap. Execute it withgraphiql-appfrom 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 "graphiql-app" name.
You'll need the
snapcraftcommand to push the snap file to the store.brew install snapcraftsudo snap install --classic snapcraftThen you can push it to the store out with:
snapcraft push graphiql-app_VERSION_amd64.snap --release stable