Skip to content
Permalink
Browse files

fix(linux): provide desktop app icon

fix #2014
  • Loading branch information...
mrfelton committed Apr 16, 2019
1 parent 020e639 commit 2f3d8b401639876a86bb73958d3f996ba7ee8dfc
@@ -7,6 +7,7 @@
* `/dist/main.prod.js` using webpack. This gives us some performance wins.
*/
import { app, BrowserWindow, session } from 'electron'
import isDev from 'electron-is-dev'
import installExtension, {
REACT_DEVELOPER_TOOLS,
REDUX_DEVTOOLS,
@@ -17,6 +18,7 @@ import os from 'os'
import fs from 'fs'
import bip21 from 'bip21'
import { mainLog } from '@zap/utils/log'
import { appRootPath } from '@zap/lnd/util'
import themes from '@zap/renderer/themes'
import { getDbName } from '@zap/utils/db'
import ZapMenuBuilder from './menuBuilder'
@@ -249,6 +251,9 @@ app.on('ready', async () => {
minWidth: 900,
minHeight: 425,
backgroundColor: get(theme, 'colors.primaryColor', '#242633'),
icon: isDev
? path.resolve('resources', 'icon.png')
: path.resolve(appRootPath(), 'resources', 'icon.png'),
webPreferences: {
nodeIntegration: false,
preload: process.env.HOT
@@ -154,7 +154,8 @@
},
"linux": {
"category": "Finance",
"icon": "resources/icon.png",
"packageCategory": "wallet",
"icon": "resources/linux",
"target": [
{
"target": "deb",
@@ -170,7 +171,17 @@
"ia32"
]
}
]
],
"desktop": {
"Comment": "Zap - Lightning wallet",
"Icon": "zap",
"Name": "Zap",
"Path": "/opt/zap",
"StartupNotify": "true",
"Terminal": "false",
"Type": "Application",
"Categories": "P2P;Finance;Security"
}
}
},
"repository": {
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 2f3d8b4

Please sign in to comment.
You can’t perform that action at this time.