TL;DR: the easiest approach is creating a first DMG on a mac (@dan suggested to use this fancy script), then harvest the files it creates and add them to the git repo.
We have a few tor-browser-build issues to solve before being able to use these files (including the creation of a first DMG with the Tor Browser resources but the correct names, such as Mullvad Browser.app or whatever it will be).
Now I've also created the right .DS_Store, but for Privacy Browser.app, rather than Mullvad Browser.app.
And I've created a background placeholder with the M logo instead of Tor Browser, but we should change it, when we can go public with the Mullvad name.
The background image must be a 2x PNG, even though we can customize sizes.
For posterity, the command I've used to create the mock .dmg is
the window size does not include borders: if you want a 512px wide dmg, you need to pass 510 to the script
the coordinates are relative to the center of the icons, and you need to subtract the border size
if you do pixel refinement (i.e., take a screenshot, and the measurement tool, to compare what you get with what you expected), keep in mind that Apple at a certain point changed the size of the title bar
when using the create-dmg script, the background is 1x for some reason... but IIRC, the final result needs to be 2x. So, I've used the 1x to create the .DS_Store, but I will actually inject the 2x the background image can/should be a 2x... but in case it must also be exported as a 2x from Figma (tell so Nicob/Donuts, they should know what to do), or you need to adjust the DPI/print size on GIMP
the height of the window should include title bar size: it's 28px in modern macOS, 22px in older macOS. So, older macOS will show a few more pixels vertically on the background. This is something to keep in mind (i.e., avoid borders, or extend backgrounds, etc etc)