From a46b8d30793aa20c2fd4c9fff7ae9c2703603649 Mon Sep 17 00:00:00 2001 From: Cristian Beskid Date: Tue, 15 Aug 2017 13:49:32 +0200 Subject: [PATCH] Configure the icon of the main window Fixes the incorrect application icon in linux/gnome-shell. See BoostIO/Boostnote#251 --- lib/main-window.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/main-window.js b/lib/main-window.js index 62ce14ac..5b53448d 100644 --- a/lib/main-window.js +++ b/lib/main-window.js @@ -17,7 +17,8 @@ const mainWindow = new BrowserWindow({ webPreferences: { zoomFactor: 1.0, blinkFeatures: 'OverlayScrollbars' - } + }, + icon: path.resolve(__dirname, '../resources/app.png') }) const url = path.resolve(__dirname, './main.html')