diff --git a/app/256x256.png b/app/256x256.png deleted file mode 100644 index ca66a105..00000000 Binary files a/app/256x256.png and /dev/null differ diff --git a/app/512x512.png b/app/512x512.png deleted file mode 100644 index 44ece81d..00000000 Binary files a/app/512x512.png and /dev/null differ diff --git a/app/package.json b/app/package.json index 5d3f50d2..9d30ade0 100644 --- a/app/package.json +++ b/app/package.json @@ -18,7 +18,7 @@ "AppImage", "deb" ], - "icon": "256x256.png", + "icon": "icon.png", "category": "Development", "synopsis": "Database administration tool for MS SQL, MySQL and PostgreSQL" }, diff --git a/app/src/electron.js b/app/src/electron.js index 1cb77adc..4b33314c 100644 --- a/app/src/electron.js +++ b/app/src/electron.js @@ -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,