1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-26 17:08:33 +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,
});