2013-02-11 115 views

回答

3

這是預期的行爲。 Apple Daemons and Services Programming Guide說:使用服務管理框架安裝

登錄物品中不可見的系統偏好設置,只能由安裝它們的應用程序被刪除。


是,剛剛在的launchd的overrides.plist改變殘疾人爲真爲你的包標識符。 我寫給你的命令來完成這一點:

/usr/libexec/PlistBuddy -c 'Set :com.yourcompany.helper-CFBundleIdentifier-here:Disabled true' /var/db/launchd.db/com.apple.launchd.peruser.$UID/overrides.plist 
  • 注:更換com.yourcompany.helper-CFBundleIdentifier,在這裏你BundleIdentifier。
+3

擡頭:看起來像10.10現在使用'/ var/db/com.apple.xpc.launchd/disabled。$ UID.plist'來跟蹤啓用/禁用狀態。 – rentzsch 2015-01-25 03:48:51