ReviewOS

also looking at this

stacks/vite-plugin-tauri

feat: call custom window on tray icon event

#13
Open iamzjohn wants to merge feat/custom_window into main
43 files +5245 -1
examples/tray-with-custom-tray-menu-window/src-tauri/Cargo.tomladded+32-0
Changes to examples/tray-with-custom-tray-menu-window/src-tauri/Cargo.toml
@@ -0,0 +1,32 @@
1[package]
2name = "app"
3version = "0.1.0"
4description = "A Tauri App"
5authors = [ "you" ]
6license = ""
7repository = ""
8default-run = "app"
9edition = "2021"
10rust-version = "1.57"
11
12# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
13
14[build-dependencies]
15tauri-build = { version = "2.1.1", features = [] }
16
17[dependencies]
18serde_json = "1.0.140"
19serde = { version = "1.0.219", features = [ "derive" ] }
20tauri = { version = "2.4.1", features = [
21 "tray-icon",
22 "image-png",
23 "unstable"
24] }
25tauri-plugin-positioner = { version = "2.0.0", features = [ "tray-icon" ] }
26
27[features]
28# this feature is used for production builds or when `devPath` points to the filesystem
29# DO NOT remove this
30custom-protocol = [ "tauri/custom-protocol" ]
31tray-icon = [ ]
32