跳转到内容
Tauri

@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_labelfor macOS Only.
  • fc30b20be (#11726 by @amrbashir) Add TrayIcon.setShowMenuOnLeftClick method and deprecate TrayIcon.setMenuOnLeftClick to match the Rust API.

  • fc30b20be (#11726 by @amrbashir) Add TrayIconOptions.showMenuOnLeftClick field and deprecate TrayIconOptions.menuOnLeftClick to match the Rust API.

Enhancements

  • fc30b20be (#11726 by @amrbashir) Add support for TrayIconOptions.menuOnLeftClick option and TrayIcon.setMenuOnLeftClick on Windows.

Bug Fixes


© 2025 Tauri Contributors. CC-BY / MIT