The build job packs the disk image layout (background, icon positions and volume icon) around an empty app folder, and sign-desktop-macos.sh puts the stapled app in its place instead of making a plain hdiutil image.
Co-authored-by: dc85 <83497+dc85@users.noreply.github.com>