gri*_*yvp 8 installation mac-osx
我有一个 .dmg MacOS 包(带有“继续”按钮、EULA 等),我需要在多台计算机上安装它。它是一种通过 bash/python/ruby/etc 脚本静默安装的方法,就像 Windows 中的静默 MSI 安装一样?我可以自动编写安装脚本,为我单击按钮,但这看起来有点不自然:)。
bal*_*dre 14
要安装 DMG,您可以执行以下操作:
cd ~/Desktop
curl -O http://darwinports.opendarwin.org/downloads/DarwinPorts-1.2-10.4.dmg
hdiutil attach DarwinPorts-1.2-10.4.dmg
cd /Volumes/DarwinPorts-1.2/
sudo installer -pkg DarwinPorts-1.2.pkg -target "/"
hdiutil detach /Volumes/DarwinPorts-1.2/
Run Code Online (Sandbox Code Playgroud)
简而言之,这
然后你可以使用Automator来做到这一点......
取自此页面的代码
归档时间: |
|
查看次数: |
22900 次 |
最近记录: |