refactor: update permission identifiers and descriptions in windows-schema.json
- Changed permission identifiers from `shell` to `opener` for clarity. - Updated descriptions to reflect new functionality for opening URLs and revealing items in directories. - Removed deprecated permissions and added new autostart permissions in the schema. - Adjusted the structure of allowed and denied entries for better organization. feat: implement system tray functionality in lib.rs - Added system tray support with show and quit options. - Implemented event handling for tray icon clicks and menu interactions. - Modified application run logic to minimize to tray on window close. - Updated plugins to use `tauri_plugin_opener` instead of `tauri_plugin_shell`.
This commit is contained in:
@@ -21,8 +21,8 @@ tauri-build = { version = "2", features = [] }
|
||||
[dependencies]
|
||||
serde_json = "1.0"
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
tauri = { version = "2", features = ["devtools"] }
|
||||
tauri-plugin-shell = "2"
|
||||
tauri = { version = "2", features = ["devtools", "tray-icon", "image-png"] }
|
||||
tauri-plugin-opener = "2"
|
||||
tauri-plugin-notification = "2"
|
||||
|
||||
[target."cfg(target_os = \"linux\")".dependencies]
|
||||
@@ -38,6 +38,7 @@ tauri-plugin-localhost = "2"
|
||||
tauri-plugin-window-state = "2"
|
||||
tauri-plugin-single-instance = "2"
|
||||
tauri-plugin-updater = "2"
|
||||
tauri-plugin-autostart = "2"
|
||||
|
||||
[features]
|
||||
default = ["custom-protocol"]
|
||||
|
||||
Reference in New Issue
Block a user