1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-14 10:16:26 +00:00

Configure the icon of the main window

Fixes the incorrect application icon in linux/gnome-shell. See
BoostIO/Boostnote#251
This commit is contained in:
Cristian Beskid
2017-08-15 13:49:32 +02:00
parent 8b92e2cbb7
commit a46b8d3079

View File

@@ -17,7 +17,8 @@ const mainWindow = new BrowserWindow({
webPreferences: { webPreferences: {
zoomFactor: 1.0, zoomFactor: 1.0,
blinkFeatures: 'OverlayScrollbars' blinkFeatures: 'OverlayScrollbars'
} },
icon: path.resolve(__dirname, '../resources/app.png')
}) })
const url = path.resolve(__dirname, './main.html') const url = path.resolve(__dirname, './main.html')