We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51f7f7c commit 1693351Copy full SHA for 1693351
apps/stage-tamagotchi/src/main/index.ts
@@ -58,7 +58,9 @@ function setupTray(params: {
58
captionWindow: ReturnType<typeof setupCaptionWindowManager>
59
}): void {
60
once(() => {
61
- const appTray = new Tray(nativeImage.createFromPath(macOSTrayIcon).resize({ width: 16 }))
+ const trayImage = nativeImage.createFromPath(isMacOS ? macOSTrayIcon : icon).resize({ width: 16 })
62
+ trayImage.setTemplateImage(isMacOS)
63
+ const appTray = new Tray(trayImage)
64
onAppBeforeQuit(() => appTray.destroy())
65
66
const contextMenu = Menu.buildFromTemplate([
0 commit comments