mirror of
https://wget.la/https://github.com/leookun/cursor-byok
synced 2026-10-04 02:52:55 +08:00
- Introduced a new setting `show_dock_icon` in the `DesktopSettings` interface. - Updated `AppLifecycleSettingsCard` to manage dock icon visibility with a toggle switch. - Enhanced the API to read and write the new dock icon visibility setting. - Added corresponding translations for the new setting in both English and Chinese locales. - Updated tests to ensure the default behavior of showing the dock icon and proper round-trip functionality for settings.
27 lines
683 B
JSON
27 lines
683 B
JSON
{
|
|
"$schema": "../gen/schemas/desktop-schema.json",
|
|
"identifier": "default",
|
|
"description": "Cursor BYOK 主窗口的最小权限",
|
|
"remote": {
|
|
"urls": [
|
|
"http://127.0.0.1:*",
|
|
"http://localhost:*"
|
|
]
|
|
},
|
|
"windows": ["main"],
|
|
"permissions": [
|
|
"core:default",
|
|
"core:window:allow-start-dragging",
|
|
"core:window:allow-minimize",
|
|
"core:window:allow-toggle-maximize",
|
|
"core:window:allow-is-maximized",
|
|
"core:window:allow-close",
|
|
"core:app:allow-set-dock-visibility",
|
|
"allow-open-terminal-with-command",
|
|
"clipboard-manager:allow-write-text",
|
|
"autostart:default",
|
|
"process:allow-restart",
|
|
"updater:default"
|
|
]
|
|
}
|