fix: show the logo in the macos menu bar (#1728)

This commit is contained in:
LukeGus committed 2026-10-29 13:53:57 -05:00
1 parent 8da88b906b
commit 474996b6e0
2 files changed
+3 -1

No files matched your search

+2 -1
View File
@@ -1246,8 +1246,9 @@ function createTray() {
let trayIcon;
if (process.platform === "darwin") {
const iconPath = path.join(publicRoot, "icons", "16x16.png");
// The logo is full color on a solid tile. As a template image macOS
// keeps only its outline, which showed as an empty square.
trayIcon = nativeImage.createFromPath(iconPath);
trayIcon.setTemplateImage(true);
} else if (process.platform === "win32") {
trayIcon = path.join(publicRoot, "icon.ico");
} else {