-
-
Notifications
You must be signed in to change notification settings - Fork 461
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This adds a new build configs in package.json for electron-builder to be able to generate a snap package for zulip. Fixes #443.
- Loading branch information
1 parent
a13558f
commit 4f96df4
Showing
5 changed files
with
205 additions
and
4 deletions.
There are no files selected for viewing
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,7 +55,8 @@ | |
"target": [ | ||
"deb", | ||
"zip", | ||
"AppImage" | ||
"AppImage", | ||
"snap" | ||
], | ||
"maintainer": "Akash Nimare <[email protected]>" | ||
}, | ||
|
@@ -64,6 +65,9 @@ | |
"afterInstall": "./scripts/debian-add-repo.sh", | ||
"afterRemove": "./scripts/debian-uninstaller.sh" | ||
}, | ||
"snap": { | ||
"synopsis": "Zulip Desktop App" | ||
}, | ||
"dmg": { | ||
"background": "build/appdmg.png", | ||
"icon": "build/icon.icns", | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: zulip | ||
version: 1.8.2 | ||
summary: Zulip | ||
description: Zulip Desktop Client for Linux | ||
confinement: strict | ||
grade: stable | ||
icon: ../build/icon.png | ||
apps: | ||
zulip: | ||
command: env TMPDIR=$XDG_RUNTIME_DIR desktop-launch $SNAP/zulip | ||
plugs: | ||
- desktop | ||
- desktop-legacy | ||
- home | ||
- x11 | ||
- unity7 | ||
- browser-support | ||
- network | ||
- gsettings | ||
- pulseaudio | ||
- opengl | ||
parts: | ||
app: | ||
plugin: dump | ||
stage-packages: | ||
- libasound2 | ||
- libgconf2-4 | ||
- libnotify4 | ||
- libnspr4 | ||
- libnss3 | ||
- libpcre3 | ||
- libpulse0 | ||
- libxss1 | ||
- libxtst6 | ||
source: ../dist/linux-unpacked | ||
after: | ||
- desktop-gtk2 |