Skip to content

armgit / dbx

Public Imported from GitHub
0

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。

fix(ci): gate the accelerator-keys helper to windows and tests

t8y23cbafbf91f88
diff --git a/src-tauri/src/commands/shortcut_recording.rs b/src-tauri/src/commands/shortcut_recording.rs
index 2099eecfdf..2afadafefb 100644
--- a/src-tauri/src/commands/shortcut_recording.rs
+++ b/src-tauri/src/commands/shortcut_recording.rs
@@ -12,6 +12,7 @@
//! 非 Windows 平台没有这层拦截(WKWebView / WebKitGTK 不消费这些键),命令是空实现。
/// 录入态与「浏览器加速键是否开启」是互斥的:录入时关掉,其余时间保持 WebView2 默认。
+#[cfg(any(target_os = "windows", test))]
fn browser_accelerator_keys_enabled(recording: bool) -> bool {
!recording
}