refactor: Simplify tray icon event handling across platforms

This commit is contained in:
wonfen
2025-02-20 07:03:28 +08:00
parent 763b6b9003
commit 8400a61bf0
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": []
}
}