chore: use persistent guid to persist menu bar positioning
This commit is contained in:
parent
e2b07afc77
commit
df8c2fa42f
1 changed files with 2 additions and 1 deletions
|
|
@ -33,9 +33,10 @@ export class TrayManager {
|
|||
);
|
||||
|
||||
// On macOS, mark as template image for proper light/dark mode support
|
||||
// Use guid to persist menu bar position between app launches
|
||||
if (isMacOS()) {
|
||||
icon.setTemplateImage(true);
|
||||
this.tray = new Tray(icon);
|
||||
this.tray = new Tray(icon, { guid: "com.amical.menubar" });
|
||||
} else {
|
||||
this.tray = new Tray(icon);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue