|
|
@ -174,16 +174,20 @@ Just search for your app in dump.txt. |
|
|
|
You could just as easily do a zip I suppose, but DMGs are fashionable aren't they? |
|
|
|
|
|
|
|
Here's a 32 megabyte dmg: |
|
|
|
```` |
|
|
|
hdiutil create -size 32m -fs HFS+ -volname "My App" my_app_writeable.dmg |
|
|
|
hdiutil attach test.dmg |
|
|
|
```` |
|
|
|
|
|
|
|
This should tell you something like /dev/disk3 or something. Make a note of that, you'll need it. |
|
|
|
|
|
|
|
Drag your app into the dmg. Then run this, replacing disk999 with whatever /dev/disk was specified. |
|
|
|
```` |
|
|
|
hdiutil detach /dev/disk999 |
|
|
|
hdiutil convert my_app_writeable.dmg -format UDZO -o my_app.dmg |
|
|
|
```` |
|
|
|
There you go. my_app.dmg is ready to be sent to all your most trusted game critics. |
|
|
|
1. Create the writeable dmg. |
|
|
|
``` |
|
|
|
hdiutil create -size 32m -fs HFS+ -volname "My App" my_app_writeable.dmg |
|
|
|
``` |
|
|
|
2. This should tell you something like `/dev/disk3` or something. Make a note of that, you'll need it. |
|
|
|
``` |
|
|
|
hdiutil attach my_app_writeable.dmg |
|
|
|
``` |
|
|
|
3. Drag your app into the dmg. Then run this, replacing `disk999` with whatever `/dev/disk` was specified. |
|
|
|
``` |
|
|
|
hdiutil detach /dev/disk999 |
|
|
|
``` |
|
|
|
4. Convert to `my_app.dmg`. |
|
|
|
``` |
|
|
|
hdiutil convert my_app_writeable.dmg -format UDZO -o my_app.dmg |
|
|
|
``` |
|
|
|
5. There you go. `my_app.dmg` is ready to be sent to all your most trusted game critics. |