v0.12.0-beta.3
Pre-releaseDelta since previous beta (v0.12.0-beta.2) — 1 new changeset.
Patch Changes
-
Open Knowledge Desktop again puts the
okcommand on your PATH automatically — politely. Launching the packaged app installs silent terminal shims (~/.ok/bin/okand~/.ok/bin/open-knowledgesymlinks into the app bundle, a~/.ok/env.shPATH shim, and a clearly marked managed block in your shell rc files —.zshrc, plus.bash_profileand fish config where present) with no admin prompt. Any user who has run Desktop at least once can typeokin a new terminal.Good-manners guarantees: the edit is disclosed in-app via a sticky toast that names the exact file(s) touched; the block is padded with blank lines and carries an inline opt-out hint; and deleting the block from an rc file is honored permanently — Open Knowledge records the opt-out and never re-adds it to that file. The
~/.ok/binshims themselves still self-heal on every startup, andOK_RECLAIM_DISABLE=1disables the whole mechanism.Unlike the earlier incarnation of this feature, Desktop no longer seeds
oksymlinks into other writable PATH directories (~/.cargo/bin,~/.local/bin, and the like) to make the command visible in already-open shells — that surprised users more than it helped. Startup now cleans up the symlinks earlier builds recorded, removing each one only while it still points at the recorded bundle target; anything re-pointed or foreign is left alone. The/usr/local/binadmin-prompt installer remains retired.