Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用出色的 Mac OS X“包”来生成安装一个 .pkg,并想知道如何构建一个 shell 脚本以确保正在更新的应用程序文件当前没有运行(这看起来很糟糕主意)。
通常这将通过使用pre-install脚本或installer plug-in. 如果应用程序正在运行,目前还不清楚您打算做什么。
pre-install
installer plug-in