mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-10-25 17:22:27 +08:00
On macOS and Windows, clicking the tray icon opens a panel with a Configuration tab (apps, in-use providers, modes, quota) and a Usage tab. Every row reuses the native menu's event id and goes through handle_tray_menu_event. Linux keeps the native menu and adds an "Open quick panel" item. macOS uses native glass under each card. Windows keeps a fixed canvas per popup and clips it with a window region, with opaque cards. Co-authored-by: funkpopo <funkpopoisme@gmail.com>
8 lines
244 B
JSON
8 lines
244 B
JSON
{
|
|
"$schema": "../gen/schemas/desktop-schema.json",
|
|
"identifier": "tray-panel",
|
|
"description": "托盘面板:只读数据、发事件,用不到主窗口的其它权限",
|
|
"windows": ["tray-panel"],
|
|
"permissions": ["core:default"]
|
|
}
|