gpt4 book ai didi

macos - 停止在启动Mac时打开Pulse Secure

转载 作者:行者123 更新时间:2023-12-03 12:04:56 25 4
gpt4 key购买 nike

我已经安装了Pulse Secure VPN实用程序版本5.2.5,它在启动时自动打开。不幸的是,该应用程序的行为与其他应用程序不同,即,我无法通过以下方式将其禁用:

System Preferences → Users & Groups → Login Items

我在Internet上进行了一些研究,发现负责启动启动的文件是:
/Library/LaunchAgents/net.pulsesecure.pulsetray.plist

如果删除该文件,Pulse Secure不会在启动时打开,但是每当我打开它时,它将无法按预期运行(不会连接到任何VPN)。

有谁知道如何防止它在启动时打开并使其同时工作?

如果有帮助,我会附加文件的内容:
<?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>Label</key>
<string>net.pulsesecure.pulsetray</string>
<key>LimitLoadToSessionType</key>
<array>
<string>Aqua</string>
</array>
<key>ProgramArguments</key>
<array>
<string>/Applications/Pulse Secure.app/Contents/Plugins/JamUI/PulseTray.app/Contents/MacOS/PulseTray</string>
</array>
<key>KeepAlive</key>
<true/>
<key>Disabled</key>
<false/>
</dict>
</plist>

最佳答案

  • 删除/Library/LaunchAgents/net.pulsesecure.pulsetray.plist这样它就不会在每次启动时自动启动

  • 每当您需要Pulse Secure VPN实用程序时
  • 显示应用程序 bundle 包中的软件包内容:Pulse Secure
  • 转到/Applications/Pulse Secure.app/Contents/Plugins/JamUI
  • 双击PulseTray

  • 或从终端:
    open /Applications/Pulse\ Secure.app/Contents/Plugins/JamUI/PulseTray.app

    完成后,再次关闭PulseTray。

    关于macos - 停止在启动Mac时打开Pulse Secure,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42612508/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com