refactor: Simplify tray icon event handling across platforms

This commit is contained in:
wonfen
2025-02-20 07:03:28 +08:00
parent 39a1d6202a
commit 23d1d210c7
3 changed files with 45 additions and 55 deletions

View File

@@ -19,5 +19,13 @@
"template": "./packages/windows/installer.nsi"
}
}
},
"app": {
"trayIcon": {
"iconPath": "icons/tray-icon.ico",
"iconAsTemplate": true,
"showMenuOnLeftClick": false
},
"windows": []
}
}