datastructures-visualization icon indicating copy to clipboard operation
datastructures-visualization copied to clipboard

Add background and icons to DMG image

Open JMCanning78 opened this issue 3 years ago • 0 comments

Looking at the DMG for Docker, it appears that you can specify a background for the disk image by creating a .backgrounds directory and placing an image file in it.

$ ls -aRF /Volumes/Docker/
./			.VolumeIcon.icns	Docker.app/
../			.background/
.DS_Store		Applications@

/Volumes/Docker//.background:
./				docker-dmg-background.png
../

The .VolumeIcon.icns is not the icon shown for the DMG. Maybe it contains the icon for the Applications folder? The Applications link is what might be expected:

$ ls -l /Volumes/Docker/Applications
lrwxr-xr-x  1 shakumantpres  staff  13 Jul  5 05:42 /Volumes/Docker/Applications -> /Applications

This task is to create some nice image for the background of the DMG, and maybe add the soft link to the Applications folder for people who want to install it there.

JMCanning78 avatar Jul 20 '22 19:07 JMCanning78