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: rewrite libodbc install_name so macOS app loads bundled library

t8y2fbcceb578136
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 56effda9b0..aa43b46c23 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -65,7 +65,10 @@ jobs:
- name: Bundle ODBC library (macOS)
if: startsWith(matrix.platform, 'macos')
- run: cp "$(brew --prefix unixodbc)/lib/libodbc.2.dylib" src-tauri/
+ run: |
+ ODBC_LIB="$(brew --prefix unixodbc)/lib/libodbc.2.dylib"
+ install_name_tool -id "@rpath/libodbc.2.dylib" "$ODBC_LIB"
+ cp "$ODBC_LIB" src-tauri/
- name: Install Apple certificate (macOS)
if: startsWith(matrix.platform, 'macos')