From 35811ab1ee1a6184356bb6f72fa660f8dc73c99e Mon Sep 17 00:00:00 2001 From: Carl Vitasa Date: Fri, 19 Aug 2022 00:13:20 -0700 Subject: [PATCH] Updated Working on macOS (markdown) --- Working-on-macOS.md | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/Working-on-macOS.md b/Working-on-macOS.md index 5216af1..6bbf59d 100644 --- a/Working-on-macOS.md +++ b/Working-on-macOS.md @@ -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.