Update installers for 23.09

This commit is contained in:
SiboVG 2023-11-04 16:20:06 +01:00
parent aea36b4cee
commit c817148feb
5 changed files with 9 additions and 27 deletions

View File

@ -1,6 +1,6 @@
# The OpenRocket build version # The OpenRocket build version
build.version=23.09.beta.01 build.version=23.09
# The copyright year for the build. Displayed in the about dialog. # The copyright year for the build. Displayed in the about dialog.
# Will show as Copyright 2013-${build.copyright} # Will show as Copyright 2013-${build.copyright}

22
install4j/.gitignore vendored
View File

@ -1,22 +0,0 @@
# Compiled class file
*.class
# Log file
*.log
# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar
# Install4j media
media/
# macOS files
.DS_Store
code_signing/

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<install4j version="10.0.4" transformSequenceNumber="10"> <install4j version="10.0.4" transformSequenceNumber="10">
<directoryPresets config="../../core/resources/pix/icon" /> <directoryPresets config="../../core/resources/pix/icon" />
<application name="OpenRocket 23.09.beta.01" applicationId="8434-9327-1469-6373" mediaDir="media" mediaFilePattern="${compiler:sys.shortName}_${compiler:sys.version}_${compiler:sys.platform}" shortName="OpenRocket" publisher="OpenRocket" publisherWeb="http://openrocket.info" version="23.09.beta.01" allPathsRelative="true" convertDotsToUnderscores="false" macVolumeId="5f58a2be20d8e22f" javaMinVersion="17" javaMaxVersion="17" jdkMode="jdk" jdkName="JDK 11.0"> <application name="OpenRocket" applicationId="8434-9327-1469-6373" mediaDir="media" mediaFilePattern="${compiler:sys.shortName}_${compiler:sys.version}_${compiler:sys.platform}" shortName="OpenRocket" publisher="OpenRocket" publisherWeb="http://openrocket.info" version="23.09" allPathsRelative="true" convertDotsToUnderscores="false" macVolumeId="5f58a2be20d8e22f" javaMinVersion="17" javaMaxVersion="17" jdkMode="jdk" jdkName="JDK 11.0">
<codeSigning macEnabled="true" macPkcs12File="./code_signing/OpenRocket_macOS.p12" windowsEnabled="true" windowsPkcs12File="./code_signing/OpenRocket_Windows.pfx" macNotarize="true" appleId="sibo.vangool@hotmail.com" /> <codeSigning macEnabled="true" macPkcs12File="./code_signing/OpenRocket_macOS.p12" windowsEnabled="true" windowsPkcs12File="./code_signing/OpenRocket_Windows.pfx" macNotarize="true" appleId="sibo.vangool@hotmail.com" />
<jreBundles jdkProviderId="Liberica" release="17/17.0.7+7"> <jreBundles jdkProviderId="Liberica" release="17/17.0.7+7">
<modules> <modules>
@ -19,7 +19,7 @@
</entries> </entries>
</files> </files>
<launchers> <launchers>
<launcher name="OpenRocket 23.09.beta.01" id="59" icnsFile="../../core/resources/pix/icon/icon-macos.icns"> <launcher name="OpenRocket 23.09" id="59" icnsFile="../../core/resources/pix/icon/icon-macos.icns">
<executable name="OpenRocket" iconSet="true" iconFile="../../core/resources/pix/icon/icon-windows.ico" executableDir="." executableMode="gui"> <executable name="OpenRocket" iconSet="true" iconFile="../../core/resources/pix/icon/icon-windows.ico" executableDir="." executableMode="gui">
<versionInfo include="true" fileDescription="A model rocket flight-trajectory simulator." legalCopyright="Copyright 2007-2023 Sampo Niskanen and Others" internalName="${compiler:sys.shortName} ${compiler:sys.version}" /> <versionInfo include="true" fileDescription="A model rocket flight-trajectory simulator." legalCopyright="Copyright 2007-2023 Sampo Niskanen and Others" internalName="${compiler:sys.shortName} ${compiler:sys.version}" />
</executable> </executable>

View File

@ -18,13 +18,17 @@ to publish installers for the following platforms.
# Instructions on updating the macOS drag-and-drop installer # Instructions on updating the macOS drag-and-drop installer
This is an example of updating the installer from 22.02 to 23.09.beta.01: This is an example of updating the installer from 22.02 to 23.09.beta.01:
If you use the `macOS_resources/template_dmg_rw.dmg` file, you can skip to step 4
1. Make sure install4j is not opened 1. Make sure install4j is not opened
2. Download the OpenRocket-22.02-macOS.dmg file 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`. 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`
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` 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` 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 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` 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`
8. Eject the OpenRocket DMG disk from your desktop (important step) 8. Eject the OpenRocket DMG disk from your desktop (important step)
9. Delete `template_dmg_rw.dmg` 9. (optional) Delete `template_dmg_rw.dmg`
10. You're all done! 10. You're all done!