25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。
TypeScript aicliclickhousedatabasedatabase-clientdatabase-managementdockerguimcpmongodbmysqlpostgresqlredisrustsql-serversqlitetaurivue
fix: suppress unused variable warnings in tray icon theme
t8y287938abb64f5
diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rsindex 4ed76241ab..97ccb365de 100644--- a/src-tauri/src/lib.rs+++ b/src-tauri/src/lib.rs@@ -163,19 +163,19 @@ fn apply_desktop_icon_theme(app: &tauri::AppHandle, icon_theme: DesktopIconThemeOk(())}-fn apply_desktop_tray_icon_theme(app: &tauri::AppHandle, icon_theme: DesktopIconTheme) -> tauri::Result<()> {- if let Some(tray) = app.tray_by_id(DESKTOP_TRAY_ID) {+fn apply_desktop_tray_icon_theme(app: &tauri::AppHandle, _icon_theme: DesktopIconTheme) -> tauri::Result<()> {+ if let Some(_tray) = app.tray_by_id(DESKTOP_TRAY_ID) {#[cfg(target_os = "windows")]{- let icon = match icon_theme {+ let icon = match _icon_theme {DesktopIconTheme::Default => app.default_window_icon().cloned(),DesktopIconTheme::Black => Some(BLACK_APP_ICON),};- tray.set_icon(icon)?;+ _tray.set_icon(icon)?;}#[cfg(not(any(target_os = "macos", target_os = "windows")))]{- let _ = (tray, icon_theme);+ let _ = (_tray, _icon_theme);}}Ok(())