Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP - Electron builder work #1124

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"sass:prod": "./node_modules/.bin/node-sass --include-path ./app/public/stylesheets/sass --output-style compressed ./app/public/stylesheets/sass/app.scss ./app/public/stylesheets/css/app.css",
"sass:dev": "./node_modules/.bin/node-sass --recursive --include-path ./app/public/stylesheets/sass --output-style expanded ./app/public/stylesheets/sass/app.scss ./app/public/stylesheets/css/app.css",
"package:osx": "electron-packager ./ Soundnode --platform=darwin --out ./dist/Soundnode --electron-version 1.4.4 --overwrite --icon ./app/soundnode.ico",
"package:linux": "electron-packager ./ Soundnode --platform=linux --out ./dist/Soundnode --electron-version 1.4.4 --overwrite --icon ./app/soundnode.icns",
"package:linux": "electron-builder --config ./snap/snapcraft.yaml -l --x64",
"package:win32": "electron-packager ./ Soundnode --platform=win32 --out ./dist/Soundnode --electron-version 1.4.4 --overwrite --icon ./app/soundnode.icns",
"package:all": "npm run package:osx && npm run package:linux && npm run package:win32"
},
Expand All @@ -32,6 +32,7 @@
"babel-preset-stage-0": "^6.22.0",
"babel-register": "^6.23.0",
"electron": "^6.0.6",
"electron-builder": "^21.2.0",
"electron-packager": "^8.5.1",
"eslint": "^4.0.0",
"eslint-plugin-react": "^7.1.0",
Expand Down
41 changes: 41 additions & 0 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
directories:
output: release
buildResources: build
productName: soundnode
appId: en.soundnode-app.soundnode
linux:
maintainer: Jake Jarrett <[email protected]>
category: Audio
target:
- deb
- snap
- AppImage
snap:
summary: A SoundCloud client for your desktop
stagePackages:
- libasound2
- libgconf2-4
- libnotify4
- libnspr4
- libnss3
- libpcre3
- libpulse0
- libxss1
- libxtst6
- gtk-update-icon-cache
plugs:
- bluez
- browser-support
- gsettings
- browser-support
- gsettings
- home
- mount-observe
- network
- opengl
- pulseaudio
- unity7
- x11
- mpris
category: Audio
electronVersion: 6.0.6