From aa7fcc297c0642ad30212081cf5c53785c04ea34 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Sat, 24 May 2025 22:31:40 +0200 Subject: [PATCH] auto-git: [change] main.js --- main.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/main.js b/main.js index 22ca038..bb468ed 100644 --- a/main.js +++ b/main.js @@ -585,9 +585,7 @@ app.whenReady().then(() => { Menu.setApplicationMenu(menu); - let img = nativeImage.createFromPath(path.join(__dirname, 'assets/icon/trayicon.png')) - .resize({ width: 22, height: 22 }); - tray = new Tray(img); + const tray = createTray(win); // --- Context Menu bauen --- function buildTrayMenu() {