Last active
August 31, 2017 09:06
-
-
Save flexiondotorg/a99ea5bd3443da8c7cb6d8d827a0886b to your computer and use it in GitHub Desktop.
insomnia snap
This file contains 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
name: insomnia | |
version: 5.7.14 | |
summary: The most intuitive cross-platform REST API Client | |
description: | | |
Insomnia is a cross-platform REST client, built on top of Electron. | |
confinement: devmode | |
parts: | |
insomnia: | |
plugin: dump | |
source: https://github.com/getinsomnia/insomnia/releases/download/v5.7.14/insomnia_5.7.14_amd64.deb | |
source-type: deb | |
# Correct path to icon. | |
prepare: | | |
sed -i 's|Icon=insomnia|Icon=/usr/share/icons/hicolor/128x128/apps/insomnia\.png|' usr/share/applications/insomnia.desktop | |
after: | |
- desktop-gtk2 | |
stage-packages: | |
- gconf2 | |
- libasound2 | |
- libnotify4 | |
- libnspr4 | |
- libnss3 | |
- libpulse0 | |
- libxss1 | |
- libxtst6 | |
apps: | |
insomnia: | |
# Correct the TMPDIR path for Chromium Framework/Electron to | |
# ensure libappindicator has readable resources. | |
command: env TMPDIR=$XDG_RUNTIME_DIR PATH=/usr/local/bin:${PATH} ${SNAP}/bin/desktop-launch $SNAP/opt/Insomnia/insomnia | |
desktop: usr/share/applications/insomnia.desktop | |
plugs: | |
- browser-support | |
- gsettings | |
- home | |
- mount-observe | |
- network | |
- pulseaudio | |
- unity7 | |
- x11 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment