set window icon only on linux
This commit is contained in:
parent
265c3758cb
commit
103c123cc5
|
@ -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,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue