diff --git a/assets/tray.png b/assets/tray.png index 3bd1d7e..aacf52a 100644 Binary files a/assets/tray.png and b/assets/tray.png differ diff --git a/src/back/tray.ts b/src/back/tray.ts index 9804d3d..d5b65bd 100644 --- a/src/back/tray.ts +++ b/src/back/tray.ts @@ -61,11 +61,10 @@ export default class TrayUtility { static init() { if (!this.tray) { const file = path.join(__dirname, '../../assets/tray.png') - const icon = nativeImage.createFromPath(file).resize({ - width: 24, - height: 24, - }) - this.tray = new Tray(icon) + const resized = nativeImage.createFromPath(file).resize({ width: 24, height: 24 }) + resized.setTemplateImage(true) + resized.isMacTemplateImage = true + this.tray = new Tray(resized) this.build() } }