Skip to content

Commit

Permalink
Merge pull request #416 from RocketChat/add-snap
Browse files Browse the repository at this point in the history
[New] Snap build
  • Loading branch information
engelgabriel authored May 10, 2017
2 parents 05f43b8 + 24d551b commit 3543768
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 0 deletions.
Binary file added snap/gui/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions snap/gui/rocketchat-desktop.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[Desktop Entry]
Name=Rocket.Chat+
Comment=Rocket.Chat Native Cross-Platform Desktop Application via Electron.
Exec=rocketchat-desktop
Terminal=false
Type=Application
Icon=${SNAP}/meta/gui/icon.png
Categories=GNOME;GTK;Network;InstantMessaging
StartupWMClass=Rocket.Chat+
37 changes: 37 additions & 0 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: rocketchat-desktop
version: 2.8.0-develop
summary: Rocket.Chat+
description: Rocket.Chat Native Cross-Platform Desktop Application via Electron.
confinement: strict
grade: stable
icon: snap/gui/icon.png
apps:
rocketchat-desktop:
command: env TMPDIR=$XDG_RUNTIME_DIR desktop-launch $SNAP/rocketchat-desktop
plugs:
- home
- x11
- unity7
- browser-support
- network
- gsettings
- pulseaudio
- opengl
parts:
app:
plugin: dump
stage-packages:
- libnotify4
- libappindicator1
- libxtst6
- libnss3
- libxss1
- fontconfig-config
- gconf2
- libasound2
- pulseaudio
organize:
rocketchat: rocketchat-desktop
source: dist/linux-unpacked
after:
- desktop-glib-only

0 comments on commit 3543768

Please sign in to comment.