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:
@@ -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')
|
||||||
|
|||||||
Reference in New Issue
Block a user