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",
"deb"
],
"icon": "256x256.png",
"icon": "icon.png",
"category": "Development",
"synopsis": "Database administration tool for MS SQL, MySQL and PostgreSQL"
},

View File

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