v0.71.2
Point release over v0.71.1: the current stable plus 1 applied commit(s), isolated from the changes still soaking on main.
Applied: ab6d38a
Patch Changes
-
Connect GitHub and Clone repository work again on Windows Desktop.
Both failed instantly with
spawn EINVALon every packaged Windows install since 0.47.0, the first release to ship Windows installers. The Navigator window ran its GitHub sign-in, sign-in status, repository list, and clone helpers by spawning the bundledok.cmdbatch wrapper directly, and Node refuses to spawn a.cmdor.batfile without a shell (its CVE-2024-27980 mitigation). The same operations from a project window went through the detached server, which already spawned the Electron binary as Node, so they worked.Desktop now hands those helpers what the wrapper would have run:
OpenKnowledge.exewithELECTRON_RUN_AS_NODE=1on the bundledcli.mjs, withNODE_OPTIONSmoved aside toOK_NODE_OPTIONSexactly asok.cmddoes. No shell is involved, so clone URLs and target paths are never interpreted bycmd.exe. macOS and Linux keep spawning their executableok.shwrapper.A helper spawn that throws synchronously now resolves as a normal failed run with the error text in stderr instead of escaping the IPC handler, so a future failure of this shape lands in the desktop log rather than only in the renderer console.
Three of these changes reach every platform, not just Windows. Cancelling a GitHub sign-in or a repository clone now ends the run quietly instead of reporting it as a failure. Error text from a failed sign-in or clone is scrubbed before it is shown or written to the log: a GitHub token is redacted, and a home directory inside a path is shortened to
~, so a clone that stops because the folder already exists now reads~/Documents/reporather than your full home path. And if a second sign-in starts while one is already running, the first one now ends with a message saying it was replaced, instead of leaving its dialog counting down a device code that is no longer being polled.
Downloads
| Platform | Architecture | Download |
|---|---|---|
| macOS | Apple Silicon | OpenKnowledge-arm64.dmg |
| Windows | x64 | OpenKnowledge-Setup-x64.exe |
| Windows | arm64 | OpenKnowledge-Setup-arm64.exe |
| Debian / Ubuntu | x64 | OpenKnowledge-amd64.deb |
| Debian / Ubuntu | arm64 | OpenKnowledge-arm64.deb |
| Fedora / RHEL | x64 | OpenKnowledge-x86_64.rpm |
| Fedora / RHEL | arm64 | OpenKnowledge-aarch64.rpm |