Description
Context — DevNotes ships for Windows and Linux and says macOS is out of scope, for two reasons: nothing here could test it, and Gatekeeper wants a paid Apple Developer account. The first no longer holds — the e2e harness is the WebDriver server embedded in the application, which drives WKWebView.
Change — macOS joins the Rust and e2e CI matrices and the release (a .dmg and the updater's archive per architecture, ad-hoc signed), with the Dock icon and ⌘Q handled; a macOS runner says what breaks.
To do
- CI —
macos-latestjoins thetest-rustandtest-e2ematrices. - E2E —
e2e/support/profile.tsonly knows%APPDATA%and XDG: on macOS the profile is under~/Library/Application Support, so the wipe cleans nothing andpreferences.jsonandvault.jsonare read where they are not. - Release — two macOS legs, Apple Silicon and Intel, each with a
.dmgand the updater's.app.tar.gznamed by architecture;latest.jsongainsdarwin-aarch64anddarwin-x86_64.⚠️ A macOS leg that fails must not hold back a Windows and Linux release:preparehas pushed the tag by then, and a skippedpublishleaves a tag without a release. - Bundle — an
.icns, and an ad-hoc signature, without which an Apple Silicon Mac refuses to start a downloaded build at all. - Native behaviour — closing the window hides it by default: the Dock's icon has to bring it back (
RunEvent::Reopen, which nothing handles). ⌘Q is the menu bar's « Quit », which ends the process without aCloseRequested: it has to go throughrequest_quitlike every other way out, or what is typed and unsaved goes with it. - Docs — the README (platforms, files, Gatekeeper, where the data is),
docs/architecture.mdanddocs/releasing.md, which all say two platforms.
Out of scope
- A Developer ID signature and notarisation: they need the paid account. Until then a downloaded build is opened through System Settings → Privacy & Security → « Open Anyway ».
- ⌘ in the shortcut labels: they read « Ctrl+N » everywhere but the search box. The keys themselves answer to ⌘ and to Ctrl.
- An icon drawn on Apple's grid.
Tests — the whole e2e suite on macos-latest is the scenario: every spec file, against the assembled application, on the third WebView. Nothing native — the Dock, the menu bar — can be driven by the harness, and nothing here can be run on a Mac by hand: what only a Mac can show is said as such in the pull request.
Activity
[-]Build, test and ship DevNotes for macOS[/-][+]macOS: CI, e2e and release builds for Apple Silicon and Intel[/+]