mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 00:56:02 +00:00
icon fix
This commit is contained in:
BIN
app/icon.png
Normal file
BIN
app/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 24 KiB |
@@ -10,12 +10,14 @@
|
||||
"build": {
|
||||
"appId": "org.dbgate",
|
||||
"mac": {
|
||||
"category": "database"
|
||||
"category": "database",
|
||||
"icon": "icon.png"
|
||||
},
|
||||
"linux": {
|
||||
"target": [
|
||||
"AppImage"
|
||||
]
|
||||
],
|
||||
"icon": "icon.png"
|
||||
},
|
||||
"win": {
|
||||
"target": [
|
||||
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user