This commit is contained in:
Jan Prochazka
2020-05-18 20:23:53 +02:00
parent e8dae5be63
commit 92236c0d64
3 changed files with 7 additions and 7 deletions

BIN
app/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View File

@@ -10,12 +10,14 @@
"build": {
"appId": "org.dbgate",
"mac": {
"category": "database"
"category": "database",
"icon": "icon.png"
},
"linux": {
"target": [
"AppImage"
]
],
"icon": "icon.png"
},
"win": {
"target": [

View File

@@ -1,4 +1,5 @@
const electron = require('electron');
const os = require('os');
const { Menu } = require('electron');
const { fork } = require('child_process');
var { autoUpdater } = require('electron-updater');
@@ -47,10 +48,7 @@ function buildMenu() {
},
{
label: 'Edit',
submenu: [
{ role: 'copy' },
{ role: 'paste' },
],
submenu: [{ role: 'copy' }, { role: 'paste' }],
},
{
label: 'View',
@@ -114,7 +112,7 @@ function createWindow() {
width: 1200,
height: 800,
title: 'DbGate',
icon: 'icon.ico',
icon: os.platform() == 'win32' ? 'icon.ico' : 'icon.png',
...bounds,
show: false,
webPreferences: {