Repository navigation
download the installer, and let the wrapper apply it - #18
Merged
Merged
Conversation
The `electron-updater` is out by the owner's decision: it needs code signing on macOS (Squirrel.Mac refuses an unsigned app), a `latest*.yml` that `electron-builder` only emits with `publish` configured, and a feed. None of the three exist here, and the macOS half is the one configuration cannot solve. The manual pattern does the same work without any of them — read the release, download, hand the file to the system. The capability is REGISTERED, not detected. Both ends are forbidden from knowing: the client is host-agnostic and the server is environment-agnostic (brief, 3.4, both sides). So the wrapper declares what it can do, the same shape as `WATCHPILE_HOST_CONTROL` — except the capability here is a FUNCTION, because what the wrapper knows how to do only exists inside Electron. In Docker nobody registers, the route says there is no way from here, and the screen shows the command instead of a button that pretends. The three platforms end DIFFERENTLY, so the sentence about how it ends travels with the capability: Windows runs the installer and closes, macOS opens the disk image and the last step is the person's (replacing the .app alone is exactly where Gatekeeper comes in, and this app is unsigned), Linux replaces the AppImage in place and relaunches — falling back to showing the file when the AppImage sits somewhere unwritable, because failing silently would be worse than not having offered. Which file serves this machine is a pure rule, and the measured names decide it. An asset with no arch tag is the x64 build, since the matrix is macos-latest (arm64), ubuntu-latest and windows-latest (x64) — so outside x64, only a tagged asset counts, and Intel Macs and ARM Linux have no asset today. The screen says so rather than handing over a binary that will not run. Progress is a BAR, and it is a registered exception: the 06/09 rule says number, never bar, and its own test is "is the denominator known AND does the numerator move one at a time?" — a download knows the denominator and moves by the thousand. The install route answers 202 before applying, because `apply` ends the process on most platforms and awaiting it would hang the request until the connection dropped — which the screen would read as a failure of what actually worked.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Step B4: the download with progress, and the capability the Electron wrapper registers.
electron-updateris out, by the owner's decision. It needs code signing on macOS (Squirrel.Mac refuses an unsigned app), alatest*.ymlthatelectron-builderonly emits withpublishconfigured, and a feed. None of the three exist here, and the macOS half is the one configuration cannot solve. The manual pattern does the same work without any of them.The capability is registered, not detected. Both ends are forbidden from knowing — the client is host-agnostic, the server is environment-agnostic (brief, 3.4, both sides). So the wrapper declares what it can do: the same shape as
WATCHPILE_HOST_CONTROL, except the capability is a FUNCTION, because what the wrapper knows how to do only exists inside Electron. In Docker nobody registers, the route says there is no way from here, and the screen shows the command instead of a button that pretends.The three platforms end differently, so the sentence about how it ends travels with the capability rather than being a constant on a screen that cannot detect its environment:
.appalone is exactly where Gatekeeper comes inWhich file serves this machine is a pure rule, and the measured names decide it. An asset with no arch tag is the x64 build, since the matrix is
macos-latest(arm64),ubuntu-latestandwindows-latest(x64) — so outside x64 only a tagged asset counts, and Intel Macs and ARM Linux have no asset today. The screen says so rather than handing over a binary that will not run.Progress is a BAR, and it is a registered exception. The 06/09 rule says number, never bar, and its own test is "is the denominator known AND does the numerator move one at a time?" — a download knows the denominator and moves by the thousand.
The install route answers 202 before applying:
applyends the process on most platforms, and awaiting it would hang the request until the connection dropped, which the screen would read as a failure of what actually worked.Verified: the real feed carries
browser_download_urlfor all three assets (142/141/125 MB); the download path is covered against an injected stream, including the no-asset refusal, the missingContent-Length, and the restart-while-running case.🤖 Generated with Claude Code