Skip to content

A native macOS / windows / Linux database IDE built with Swift and AppKit. Connect to PostgreSQL, MySQL, SQLite, and Redis from a single app with a fast, keyboard-driven interface.

C++

fix(windows): bundle d2.exe v0.7.1 for ER Diagram rendering

DangHuynha91ae4a54637
diff --git a/.gitignore b/.gitignore
index eb657fe..555f1a4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -98,6 +98,10 @@ windows/Releases/
windows/vendor/webview2/
!windows/vendor/velopack/lib/velopack_libc_win_x64_msvc.lib
+# Bundled D2 CLI (Assets/d2/d2.exe) — ER Diagram uses it to render SVGs.
+# Binary is vendored so clones build + package without a manual download.
+!windows/Gridex/Assets/d2/d2.exe
+
# Generated version header — written by build-unpackaged.ps1 -Version
# from the CI tag, falls back to 0.0.0-dev locally via __has_include.
windows/Gridex/GridexVersion.generated.h
\ No newline at end of file
diff --git a/windows/Gridex/Assets/d2/d2.exe b/windows/Gridex/Assets/d2/d2.exe
new file mode 100644
index 0000000..57ad67d
Binary files /dev/null and b/windows/Gridex/Assets/d2/d2.exe differ