From a46b8d30793aa20c2fd4c9fff7ae9c2703603649 Mon Sep 17 00:00:00 2001 From: Cristian Beskid Date: Tue, 15 Aug 2017 13:49:32 +0200 Subject: [PATCH 1/2] 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 62ce14ac6..5b53448dd 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') From a9acde07d1a1be8d5dad29e3682a562f615ebf06 Mon Sep 17 00:00:00 2001 From: Cristian Beskid Date: Tue, 15 Aug 2017 13:52:01 +0200 Subject: [PATCH 2/2] Add missing 'productName' attribute to package.json Fixes incorrect application name displayed in linux/gnome-shell. See BoostIO/Boostnote#251 --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 932e2824a..703d462b4 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,6 @@ { "name": "boost", + "productName": "Boostnote", "version": "0.8.14", "main": "index.js", "description": "Boostnote",