diff --git a/CHANGELOG.md b/CHANGELOG.md index 098b9630..37640dfd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,6 +33,9 @@ Release date: TBD ### Bug Fixes - Fixed an issue where the maximized state of the app window was lost in some cases. +#### Windows +- Fixed pixelated application icons in top left of the window. + ## Release v1.3.0 diff --git a/resources/icon.ico b/resources/icon.ico index e9098fb5..ee73f815 100644 Binary files a/resources/icon.ico and b/resources/icon.ico differ diff --git a/src/main.js b/src/main.js index be2b608e..f6cd4688 100644 --- a/src/main.js +++ b/src/main.js @@ -349,9 +349,7 @@ app.on('ready', function() { // follow Electron's defaults window_options = {}; } - if (process.platform === 'win32' || process.platform === 'linux') { - // On HiDPI(125%) Windows environment, the taskbar icon is pixelated. So this line is necessary. See #192. - // As the side effect, #98 reoccurs. + if (process.platform === 'linux') { window_options.icon = path.resolve(__dirname, 'resources/appicon.png'); } window_options.title = app.getName();