Create drag-drop graphic when installing OS X application from dmg

徘徊边缘 提交于 2019-12-12 08:13:16

问题


A lot of applications on the mac show a little graphic when the installer DMG is initially opened - the graphic basically allows you to drag and drop the app in that window without having to do it in finder (I'm not talking about package manager here).

Any idea if there's a standard way to create that type of experience?


回答1:


Those "graphics" are just a background picture and an alias to the Applications folder.

A background image can be added to a folder by going to the view options and selecting a picture. Note that for it to work on a DMG the picture has to be located on that disk image (usually invisible)

You can also check out DMG Maker if you want some more options.

EDIT:

It appears that link no longer works. You can also use disk utility and follow this tutorial. The tutorial walks you through creating a disk image and adding your own custom background picture.

EDIT PART DEUX: There is another tutorial here



来源:https://stackoverflow.com/questions/871199/create-drag-drop-graphic-when-installing-os-x-application-from-dmg

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!