diff --git a/src/interface/desktop/main.js b/src/interface/desktop/main.js index 95927be1..6c7684f1 100644 --- a/src/interface/desktop/main.js +++ b/src/interface/desktop/main.js @@ -516,7 +516,8 @@ openWindow = (page) => { } app.whenReady().then(() => { - const icon = nativeImage.createFromPath('assets/icons/favicon-20x20.png') + const iconPath = path.join(__dirname, './assets/icons/favicon-20x20.png') + const icon = nativeImage.createFromPath(iconPath) tray = new Tray(icon) const contextMenu = Menu.buildFromTemplate([