Skip to content

fix(packaging): handle Windows binary extension (.exe) in manifest.json and packaging script - #61

Merged
ZhuchkaTriplesix merged 1 commit into
devfrom
issue/45-handle-windows-binary-extension
Sep 27, 2026
Merged

ZhuchkaTriplesix merged 1 commit into
devfrom
issue/45-handle-windows-binary-extension

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Summary

Fixes entry point mismatch when packaging clickhouse-query-ext for Windows targets.

Closes #45

Changes

  • In scripts/package_qext.sh, when packaging for Windows (*windows* target or .exe binary), dynamically update the staged manifest.json so that main specifies bin/clickhouse_rpc_server.exe.
  • In the staging directory, copy the binary as both clickhouse_rpc_server.exe and clickhouse_rpc_server for dual backward compatibility across POSIX tools and Windows installer validation in Querya Desktop (ExtensionSupport.validateDriverPackage and ExtensionDriverSession).
  • Verified packaging for both Linux and Windows targets; confirmed manifest.json within the archive correctly points to bin/clickhouse_rpc_server.exe on Windows.

@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit 6d6b9a2 into dev Sep 27, 2026
2 checks passed
@ZhuchkaTriplesix
ZhuchkaTriplesix deleted the issue/45-handle-windows-binary-extension branch September 27, 2026 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant