1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-11-28 12:35:40 +01:00

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

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