From 291f5fd91de49ac93aadcbc6ad7c52f534943a8e Mon Sep 17 00:00:00 2001 From: meriadec Date: Fri, 6 Jul 2018 11:42:39 +0200 Subject: [PATCH] Update BrowserWindow icon name --- src/main/app.js | 6 ++---- ...-512x512.png => browser-window-icon-512x512.png} | Bin 2 files changed, 2 insertions(+), 4 deletions(-) rename static/images/{linux-app-icon-512x512.png => browser-window-icon-512x512.png} (100%) diff --git a/src/main/app.js b/src/main/app.js index 83a714af..4ae2099a 100644 --- a/src/main/app.js +++ b/src/main/app.js @@ -66,10 +66,8 @@ const saveWindowSettings = window => { } const defaultWindowOptions = { - // Linux require window to have icon to be correctly displayed - // in docks, when using , etc. - // see https://github.com/electron-userland/electron-builder/issues/2269 - icon: i('linux-app-icon-512x512.png'), + // see https://github.com/electron-userland/electron-builder/issues/2269 + icon: i('browser-window-icon-512x512.png'), backgroundColor: '#fff', webPreferences: { diff --git a/static/images/linux-app-icon-512x512.png b/static/images/browser-window-icon-512x512.png similarity index 100% rename from static/images/linux-app-icon-512x512.png rename to static/images/browser-window-icon-512x512.png