@tauri-apps/api@2.2.0
此内容尚不支持你的语言。
New Features
-
020ea0556
(#11661 by @ahqsoftwares) Add badging APIs:Window/WebviewWindow::set_badge_count
for Linux, macOS and IOS.Window/WebviewWindow::set_overlay_icon
for Windows Only.Window/WebviewWindow::set_badge_label
for macOS Only.
-
fc30b20be
(#11726 by @amrbashir) AddTrayIcon.setShowMenuOnLeftClick
method and deprecateTrayIcon.setMenuOnLeftClick
to match the Rust API. -
fc30b20be
(#11726 by @amrbashir) AddTrayIconOptions.showMenuOnLeftClick
field and deprecateTrayIconOptions.menuOnLeftClick
to match the Rust API.
Enhancements
fc30b20be
(#11726 by @amrbashir) Add support forTrayIconOptions.menuOnLeftClick
option andTrayIcon.setMenuOnLeftClick
on Windows.
Bug Fixes
a16796a55
(#12069 by @Legend-Master) FixChannel
never callsonmessage
in some cases12a48d1e2
(#11741 by @amrbashir) Fix error when callingPredefinedMenuItem.new
to create anAbout
menu item that uses anImage
instance for the about icon.12a48d1e2
(#11741 by @amrbashir) Fix error when callingIconMenuItem.new
using anImage
instance for the icon.b63262cd4
(#11724 by @FabianLars) Removed the generic in the type of the callback function argument inmockIPC
which prevented its proper use in tests using TypeScript.a6e84f7d2
(#11835 by @ilittlebig) Fix error where usingisAbsolute
would returnCommand not found
.
© 2025 Tauri Contributors. CC-BY / MIT