openrocket/install4j/README.md

31 lines
1.5 KiB
Markdown
Raw Normal View History

# OpenRocket Installer Files
Originally a separate repository of Justin Hanna's, now a directory
with its own commit history in the openrocket repository.
# OpenRocket Supported Installers
The [OpenRocket](http://www.openrocket.info) project will do its best
to publish installers for the following platforms.
* Windows, 64-bit
2023-01-09 08:57:16 +01:00
* macOS, 64-bit (Intel & Apple Silicon)
* Linux, 64-bit
# Maintainers
* Neil Weinstock
* Justin Hanney
* Joe Pfeiffer
2023-01-09 08:57:16 +01:00
* Sibo Van Gool
2022-06-16 19:52:27 +02:00
# Instructions on updating the macOS drag-and-drop installer
2023-09-16 00:59:35 +02:00
This is an example of updating the installer from 22.02 to 23.09.beta.01:
2023-01-09 08:57:16 +01:00
1. Make sure install4j is not opened
2023-09-16 00:59:35 +02:00
2. Download the OpenRocket-22.02-macOS.dmg file
3. Make a read/write .dmg file using the terminal command `hdiutil convert OpenRocket-22.02-macOS.dmg -format UDRW -o 22.02.beta.05_rw.dmg` OR use the `template_dmg_rw.dmg`.
4. Enlarge the writable DMG, by first checking the current size: `hdiutil resize template_dmg_rw.dmg`, e.g. you get 430000 in the 'cur' column, then just resize it to e.g. 500000: `hdiutil resize -sectors 500000 template_dmg_rw.dmg`
5. Mount the DMG: `hdiutil attach template_dmg_rw.dmg`
6. Open the OpenRocket-disk from your desktop and change the app name from 22.02 to 23.09
7. Copy the .DS_Store to `openrocket/install4j/23.09/macOS_resources` by running the command `cp /Volumes/OpenRocket/.DS_Store openrocket/install4j/23.09/macOS_resources/DS_Store`
2023-01-09 08:57:16 +01:00
8. Eject the OpenRocket DMG disk from your desktop (important step)
2023-09-16 00:59:35 +02:00
9. Delete `template_dmg_rw.dmg`
2023-01-09 08:57:16 +01:00
10. You're all done!