Updated Working on macOS (markdown)

Carl Vitasa
2022-08-19 00:13:20 -07:00
parent ec62ca9d05
commit 35811ab1ee

@ -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? You could just as easily do a zip I suppose, but DMGs are fashionable aren't they?
Here's a 32 megabyte dmg: Here's a 32 megabyte dmg:
```` 1. Create the writeable dmg.
hdiutil create -size 32m -fs HFS+ -volname "My App" my_app_writeable.dmg ```
hdiutil attach test.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.
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
Drag your app into the dmg. Then run this, replacing disk999 with whatever /dev/disk was specified. ```
```` 3. 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 hdiutil detach /dev/disk999
```` ```
There you go. my_app.dmg is ready to be sent to all your most trusted game critics. 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.