Skip to content

macOS host-first DesktopWebView packaging - #17

Merged
dominicletz merged 4 commits into
mainfrom
macos-desktop-webview-packaging
Aug 3, 2026
Merged

macOS host-first DesktopWebView packaging#17
dominicletz merged 4 commits into
mainfrom
macos-desktop-webview-packaging

Conversation

@dominicletz

Copy link
Copy Markdown
Contributor

Summary

  • Default macOS installers place `DesktopWebView` as `CFBundleExecutable` with the release under `Resources/beam/` and a generated `DesktopWebView.ini`.
  • Resolve the host binary from `DESKTOP_WEBVIEW_BINARY`, `package.webview_binary`, or `:desktop_webview` priv.
  • Add mic/camera usage strings and raise `LSMinimumSystemVersion` to 13.0.
  • Keep legacy BEAM-first/`run` + CEF helper path behind `webview_backend: :wx`. Linux/Windows unchanged.

Test plan

  • `MIX_ENV=prod mix desktop.installer` on macOS with `DESKTOP_WEBVIEW_BINARY` set
  • Confirm `.app` layout and that launching starts the host then BEAM
  • `webview_backend: :wx` still produces `MacOS/run`

Made with Cursor

dominicletz and others added 4 commits August 3, 2026 16:47
Nest the Mix release under Resources/beam, write DesktopWebView.ini, and
set CFBundleExecutable plus mic/camera usage strings. Legacy wx packaging
remains available via package.webview_backend: :wx.

Co-authored-by: Cursor <cursoragent@cursor.com>
Extract plist embed, dep rewrite, and installer finalize helpers shared by
DesktopWebView and legacy wx release paths.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Keep host-first release paths while adopting main adhoc_sign fallback
and maybe_rewrite_dep_to_approot helper.

Co-authored-by: Cursor <cursoragent@cursor.com>
@dominicletz
dominicletz merged commit 0b9e15f into main Aug 3, 2026
2 checks passed
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