Skip to content

Commit b82e96e

Browse files
authored
i18n(zh-cn): update system-tray cargo.toml snippet (#3495)
1 parent 9d90c90 commit b82e96e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/content/docs/zh-cn/learn/system-tray.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Tauri 允许您为应用程序创建和自定义系统托盘。这可以通过
1717
首先,更新您的 `Cargo.toml` 以包含系统托盘所需的功能。
1818

1919
```toml title="src-tauri/Cargo.toml"
20+
[dependencies]
2021
tauri = { version = "2.0.0", features = [ "tray-icon" ] }
2122
```
2223

0 commit comments

Comments
 (0)