NETserver.app未针对您的 Mac 进行优化,需要更新

重启Mac时不时弹出窗口提示

NETserver.app或LOGINserver.app或USBserver.app软件未优化

苹果官方解释为什么会弹出此窗口

如果客户使用基于 32 位技术的应用,Apple 会通知客户这一情况。当您启动 32 位应用时,系统会通过显示一次性提醒进行通知。在 macOS Mojave 中,这种提醒在启动应用时每 30 天出现一次。

可以通点击过左上角“() – 关于本机 – 系统报告 – 应用程序”列表中最右侧的“64位(Intel”)列中查看所有32位的程序。

既然是开机提示,一定程序是开机自启的了,通过“系统偏好设置-用户与群组-登录项”并没有找到相关的app程序,spotlight(聚焦)搜索对应app还是没法找到,于是查了一下Mac的启动项是怎么运作的

The launchd Startup Process

After the system is booted and the kernel is running, launchd is run to finish the system initialization. As part of that initialization, it goes through the following steps:

  1. It loads the parameters for each launch-on-demand system-level daemon from the property list files found in/System/Library/LaunchDaemons/ and /Library/LaunchDaemons/.
  2. It registers the sockets and file descriptors requested by those daemons.
  3. It launches any daemons that requested to be running all the time.
  4. As requests for a particular service arrive, it launches the corresponding daemon and passes the request to it.
  5. When the system shuts down, it sends a SIGTERM signal to all of the daemons that it started.

The process for per-user agents is similar. When a user logs in, a per-user launchd is started. It does the following:

  1. It loads the parameters for each launch-on-demand user agent from the property list files found in /System/Library/LaunchAgents,/Library/LaunchAgents, and the user’s individual Library/LaunchAgents directory.
  2. It registers the sockets and file descriptors requested by those user agents.
  3. It launches any user agents that requested to be running all the time.
  4. As requests for a particular service arrive, it launches the corresponding user agent and passes the request to it.
  5. When the user logs out, it sends a SIGTERM signal to all of the user agents that it started.

除了上面说的系统偏好设置外,launchd进程是通过daemons和agents来启动后台程序

  • daemons:后台服务守护程序,由系统自动启动,即使用户还没登录系统;
  • agent:代理程序,在用户登录的时候启动。

对应的目录有

目录说明
/System/Library/LaunchDaemons系统守护程序
/Library/LaunchDaemons第三方程序的守护程序
/System/Library/LaunchAgents系统代理程序
/Library/LaunchAgents第三方程序的代理程序
~/Library/LaunchAgents针对某个用户代理程序

排除系统级的目录,在~/Library/LaunchAgents找到了com.brother.LOGINserver.plist这个文件,内容如下:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>OnDemand</key>
<false/>
<key>Label</key>
<string>com.brother.LOGINserver</string>
<key>ProgramArguments</key>
<array>
<string>/Library/Printers/Brother/Utilities/Server/LOGINserver.app/Contents/MacOS/LOGINserver</string>
</array>
</dict>
</plist>

仿达(Finder)下Shift + Command + G 前往/Library/Printers/Brother/Utilities/Server 目录,找到了重启时提示的app,另外还找到一些卸载后残留的plist和app文件,建议各位都检查下对应的目录是否有不需要开机自启的程序,以免延长开机等待时间。

启动项找到了,至于Command+空格搜不到存在于磁盘的文件,网上的说法是文件变动的之后,索引并没有建立,导致文件存在但搜索不到。

苹果建议这样操作:

  1. 选取苹果菜单 () >“系统偏好设置”,然后点按“聚焦”。
  2. 点按“隐私”标签页。
  3. 将您想要再次为其创建索引的文件夹或磁盘拖至“聚焦”无法搜索的位置列表中。或点按“添加(+)”按钮,并选择要添加的文件夹或磁盘。
    要将某个项目添加到“隐私”标签页中,您必须拥有该项目的所有权。要了解有关权限的信息,请从“访达”菜单栏中选取“帮助”,然后搜索“权限”。
  4. 从同一位置列表中,选择您刚添加的文件夹或磁盘。然后点按“移除(-)”按钮,将它从列表中移除。
  5. 退出“系统偏好设置”。“聚焦”将重新为文件夹或磁盘中的内容创建索引。
暂无评论

发送评论 编辑评论


				
|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
上一篇
下一篇