- dmgbuild must be available on the system. One way to get it is to use
pip install dmgbuild
which will install it in /usr/local/bin/dmgbuild
/Applications/NetBeans/NetBeans 9.app
which can be made by using thenetbeans-macos-bundle
tool by Carl Mosca.
Run the command
dmgbuild -s settings.py nb9vol nb9dist.dmg
to make a nb9dist.dmg
. When this dmg is opened, it will present a familar DMG GUI where there will be the NetBeans 9.app that can be drag-n-drop'ed onto a shortcut for the /Applications
folder.
- Combine the two scripts
- Fix things so install will be into /Applications/NetBeans directory
Depends on MacOS program hdiutil
.