mirror of
https://github.com/CloakHQ/CloakBrowser.git
synced 2026-06-23 11:41:46 +02:00
A Pro license on macOS currently has no binary to download. Rather than hard-failing a paying customer, fall back to the free binary with a clear notice. Scoped to the 404 case only: transient and checksum-verification failures still hard-fail (no silent downgrade), and once the macOS Pro build ships the 404 disappears and Pro is served automatically. JS side adds DownloadHttpError to carry the HTTP status through fetch's generic error path so the 404 can be distinguished from transient failures.