1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-11-15 10:25:21 +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, x: this.windowStates[Keys.mainWindowSize].x,
y: this.windowStates[Keys.mainWindowSize].y, y: this.windowStates[Keys.mainWindowSize].y,
title: app.getName(), title: app.getName(),
icon: path.join(__dirname, '/images/icon.png'), icon: process.platform === 'linux' ? path.join(__dirname, '/images/icon.png') : undefined,
show: false, show: false,
}); });