set window icon only on linux

This commit is contained in:
Kyle Spearrin 2018-02-24 22:43:26 -05:00
parent 265c3758cb
commit 103c123cc5
1 changed files with 1 additions and 1 deletions

View File

@ -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,
});