Updated Working on macOS (markdown)

master
Carl Vitasa 2 years ago
parent
commit
f245cd09e6
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      Working-on-macOS.md

+ 3
- 3
Working-on-macOS.md

@ -178,11 +178,11 @@ Here's a 32 megabyte 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.
2. Attach `my_app_writeable.dmg`. This should tell you something like `/dev/disk3` or something. Make a note of that, you'll need it for the next step.
```
hdiutil attach my_app_writeable.dmg
```
3. 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 in the previous step.
```
hdiutil detach /dev/disk999
```
@ -190,4 +190,4 @@ hdiutil detach /dev/disk999
```
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.
5. Share it. Congratulations, `my_app.dmg` is ready to be sent to all your most trusted game critics.

Loading…
Cancel
Save