icon cleanup

This commit is contained in:
Jan Prochazka
2021-01-07 08:15:26 +01:00
parent 6ac2122c76
commit 287d29bbdb
4 changed files with 3 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 137 KiB

View File

@@ -18,7 +18,7 @@
"AppImage", "AppImage",
"deb" "deb"
], ],
"icon": "256x256.png", "icon": "icon.png",
"category": "Development", "category": "Development",
"synopsis": "Database administration tool for MS SQL, MySQL and PostgreSQL" "synopsis": "Database administration tool for MS SQL, MySQL and PostgreSQL"
}, },

View File

@@ -114,12 +114,13 @@ function buildMenu() {
function createWindow() { function createWindow() {
const bounds = store.get('winBounds'); const bounds = store.get('winBounds');
mainWindow = new BrowserWindow({ mainWindow = new BrowserWindow({
width: 1200, width: 1200,
height: 800, height: 800,
title: 'DbGate', title: 'DbGate',
icon: os.platform() == 'win32' ? 'icon.ico' : 'icon.png',
...bounds, ...bounds,
icon: os.platform() == 'win32' ? 'icon.ico' : path.resolve(__dirname, '../icon.png'),
show: false, show: false,
webPreferences: { webPreferences: {
nodeIntegration: true, nodeIntegration: true,