blob: 5ea35f3dd0281ea9ec265f79aa0716c71eccbc10 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- src/main-process/atom-window.js.orig 2020-06-10 09:38:09 UTC
+++ src/main-process/atom-window.js
@@ -55,7 +55,7 @@ module.exports = class AtomWindow extends EventEmitter
// Don't set icon on Windows so the exe's ico will be used as window and
// taskbar's icon. See https://github.com/atom/atom/issues/4811 for more.
- if (process.platform === 'linux') options.icon = ICON_PATH;
+ if (process.platform === 'linux' || process.platform === 'freebsd') options.icon = ICON_PATH;
if (this.shouldAddCustomTitleBar()) options.titleBarStyle = 'hidden';
if (this.shouldAddCustomInsetTitleBar())
options.titleBarStyle = 'hiddenInset';
|