Skip to content

Windows host-first packaging for DesktopWebView - #20

Open
dominicletz wants to merge 1 commit into
mainfrom
windows/host-first-packaging
Open

Windows host-first packaging for DesktopWebView#20
dominicletz wants to merge 1 commit into
mainfrom
windows/host-first-packaging

Conversation

@dominicletz

Copy link
Copy Markdown
Contributor

Summary

  • Default windows_layout: :host_first places the native host + .ini at the package root and the Mix release under beam/ (mirrors macOS host-first).
  • Resolve host via host_binary / DESKTOP_HOST_BINARY / DESKTOP_WEBVIEW_BINARY or priv/native/windows/*.exe.
  • NSIS shortcuts launch the host executable; install/uninstall kill the host instead of heart on host-first.
  • Keep :release_first for legacy wx/heart installers.

Test plan

  • MIX_ENV=prod mix desktop.installer with DESKTOP_HOST_BINARY set produces _build/prod/<App>/DesktopWebView.exe + beam/
  • NSIS installer shortcuts launch the host
  • windows_layout: :release_first still packs flat release + run.vbs

Default windows_layout places the native host and ini at the package
root with the Mix release under beam/, matching the macOS host-first
layout so NSIS shortcuts launch DesktopWebView.exe without heart.
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