usage

usage 0.16.1

工具與目錄
在這頁

修正 1 項

01

Homebrew 安裝不再報錯,Claude Code 啟動不再掛點

現在用 Homebrew 安裝不會再報錯,手動裝 App 的人也不用擔心配定檔壞掉了。以前如果你用 Homebrew 安裝 usage,它會因為壓縮檔的路徑問題在最後一步失敗,跳出找不到檔案的錯誤;現在路徑修好了,直接重裝就能過關。另外,如果你是把打包好的 .app 拖進電腦,然後按下「安裝狀態列 Hook」,這一步原本會不小心把 App 肚子裡專用的 Python 執行檔路徑寫進去,導致你打開 Claude Code 時系統找不到獨立的套件而瘋狂報錯,狀態列也出不來。現在它學乖了,一律會使用你 macOS 系統內建的 Python。如果你的設定之前已經被寫壞了也別擔心,重開一次它就會自動幫你修好。就像是修車廠以前送你一條只能插在他們廠內特殊插座上的充電線,害你開回家後插不進牆壁插座而車子發不動;現在他們直接送你一條萬用規格的線,如果之前已經給你插錯的,他們也會親自到府幫你換成對的。

官方原文

**Homebrew install no longer fails**: because the release zip had a single top-level usage.app directory, Homebrew would auto-chdir into it and then fail to find the file to install, raising Errno::ENOENT ... usage.app. The formula's install path is fixed — just reinstall. (Thanks @teddy123434 for reporting #32)

**Claude Code no longer errors on startup after installing the status-line hook from the .app**: installing from the packaged .app used to write the app's bundled Python — which can't run standalone outside the bundle — into the hook config, so Claude Code threw Could not find platform independent libraries on startup and the status line wouldn't show. It now always uses the system /usr/bin/python3, and any previously corrupted config is repaired automatically on next launch or re-run of setup. (Thanks @teddy123434 for reporting #32)