usage 0.11.10
新功能 1 項
「開機自動啟動」開關立刻生效,不用等到下次重開機
以前你在選單裡點了「開機自動啟動」的開關,系統只會默默記在筆記本裡,你得等到下一次重開機,電腦才會真的照做;要是你把它關掉,背景還會留下一支不會停的舊程式。現在只要你一點開關,系統就會馬上拍拍電腦的肩膀跟它說「現在就開始」或「馬上停下來」,不用再等重開機了。就像你跟大樓管理員說明天開始不要送報紙了,以前他只會寫在明天的交接本上,今天還是照送;現在他會立刻用對講機跟派報生說停送。
官方原文
**"Launch at login" toggle now takes effect immediately, no reboot needed**: login_item.enable() / disable() now invoke launchctl bootstrap gui/<uid> <plist> / launchctl bootout gui/<uid>/<label> in addition to writing/removing ~/Library/LaunchAgents/com.lollapalooza.usage.plist, so launchd learns about the change right away. Previously only the plist file was touched, so the toggle did nothing until the next reboot, and disabling left a KeepAlive orphan process behind. launchctl "already bootstrapped" (exit 17) and "not bootstrapped" (exit 113) are treated as success; other failures log a warning without affecting the plist operation (signatures stay () -> None).