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。

ci: use zlib for Win7 test installer

luo jiyine9fea1896c4b
diff --git a/.github/fixtures/win7-nsis-zlib-config.json b/.github/fixtures/win7-nsis-zlib-config.json
new file mode 100644
index 0000000000..1bd1d752a3
--- /dev/null
+++ b/.github/fixtures/win7-nsis-zlib-config.json
@@ -0,0 +1,9 @@
+{
+ "bundle": {
+ "windows": {
+ "nsis": {
+ "compression": "zlib"
+ }
+ }
+ }
+}
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 0d3e1e40f2..d2797a4821 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -541,11 +541,13 @@ jobs:
shell: pwsh
run: ./.github/scripts/assert-webview2-win7-loader.ps1 -BinaryPath target/x86_64-win7-windows-msvc/release/dbx.exe
- - name: Bundle Windows 7 fixed-runtime installer
+ - name: Bundle Windows 7 fixed-runtime test installer with zlib
shell: pwsh
run: |
$bundleDir = "target/x86_64-win7-windows-msvc/release/bundle/nsis"
- pnpm tauri bundle --bundles nsis --target x86_64-win7-windows-msvc --config src-tauri/tauri.webview2-win7-fixed.conf.json
+ pnpm tauri bundle --bundles nsis --target x86_64-win7-windows-msvc `
+ --config src-tauri/tauri.webview2-win7-fixed.conf.json `
+ --config .github/fixtures/win7-nsis-zlib-config.json
$installer = Get-ChildItem $bundleDir -Filter "*.exe" |
Sort-Object LastWriteTimeUtc -Descending |
Select-Object -First 1