[codex] fix Windows tray icon size (#1202)

* fix windows tray icon sizing

* use client logo for windows tray
This commit is contained in:
ekko
2026-06-01 13:31:06 +08:00
committed by GitHub
parent b96bda4834
commit d2a7c54e9e
4 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -97,8 +97,8 @@ function createTray() {
? desktopWindowsTrayIcon()
: desktopIcon()
const icon = nativeImage.createFromPath(source).resize({
width: process.platform === 'darwin' ? 18 : process.platform === 'win32' ? 20 : 16,
height: process.platform === 'darwin' ? 18 : process.platform === 'win32' ? 20 : 16,
width: process.platform === 'darwin' ? 18 : process.platform === 'win32' ? 24 : 16,
height: process.platform === 'darwin' ? 18 : process.platform === 'win32' ? 24 : 16,
quality: 'best',
})
if (process.platform === 'darwin') {