The DMG needs more custom and complicated tooling. Switching to a zip is
also more compatible with our upcoming codesigning tooling. No need for
a DS_Store anymore. The UX is also neat for the user: once downloaded
they can just click on the app. They can still drag it to the
application folder.
This was mostly inspired by (or outright stolen from) the Bitcoin Core
project. I think most contributions in this area were Michael Ford's
(fanquake), so credits to him.
This is everything that needs to be present in a dmg in order to have a
nice fancy installation drag-and-drop screen. Configuration contains
dummy values to be replaced with specifics at release time.