NetBeans – make macOS installer beautiful again

It’s fairly easy to make macOS like Application based on zip file distributed by Apache. All you need to do is to create structure like this:

NetBeans.app
|-- Contents
|   |-- Info.plist
|   |-- MacOS
|   |   `-- NetBeans
|   `-- netbeans.content
`-- Icon\r

and make sure to run actual application inside NetBeans wrapper script

#!/usr/bin/env bash

ABSPATH=$(cd "$(dirname "$0")"; pwd)

${ABSPATH}/../netbeans.content/bin/netbeans

Then, you need just a little bit of this, a little bit of that, and you can end up with something like this :)