diff --git a/src/main/index.ts b/src/main/index.ts index 90e85e736..d3b789e75 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -185,13 +185,11 @@ const createWinThumbarButtons = () => { }; const createTray = () => { - if (isMacOS()) { - return; - } + tray = + isLinux() || isMacOS() + ? new Tray(getAssetPath('icons/icon.png')) + : new Tray(getAssetPath('icons/icon.ico')); - tray = isLinux() - ? new Tray(getAssetPath('icons/icon.png')) - : new Tray(getAssetPath('icons/icon.ico')); const contextMenu = Menu.buildFromTemplate([ { click: () => {