mirror of
https://github.com/raysan5/raylib.git
synced 2026-02-01 19:59:17 -05:00
Updated Working on macOS (markdown)
@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user