From 103c123cc5c440d212c6f15db5836d688b18a990 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Sat, 24 Feb 2018 22:43:26 -0500 Subject: [PATCH] set window icon only on linux --- src/main/window.main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/window.main.ts b/src/main/window.main.ts index c809e61f88..e71ef7f8c1 100644 --- a/src/main/window.main.ts +++ b/src/main/window.main.ts @@ -81,7 +81,7 @@ export class WindowMain { x: this.windowStates[Keys.mainWindowSize].x, y: this.windowStates[Keys.mainWindowSize].y, title: app.getName(), - icon: path.join(__dirname, '/images/icon.png'), + icon: process.platform === 'linux' ? path.join(__dirname, '/images/icon.png') : undefined, show: false, });