Improved OSX building

This commit is contained in:
2018-09-15 15:57:02 +01:00
parent f303872bf5
commit 6ea1bd22b0
5 changed files with 21 additions and 23 deletions

6
.gitignore vendored Normal file
View File

@@ -0,0 +1,6 @@
.DS_Store
._*
bin
AudiobookRecorder.jar
AudiobookRecorder.dmg
AudiobookRecorder.exe

View File

@@ -5,3 +5,4 @@ ToDo
* Identify and export 5 minute retail sample
* Identify and export 15 minute checkpoint
* Archive (Zip and delete) audiobooks
* File path browser buttons in options

View File

@@ -52,31 +52,22 @@
<mkdir dir="tmp"/>
<jarbundler
name="AudiobookRecorder"
shortname="AudiobookRecorder"
icon="dist/macosx/audiobookrecorder.icns"
stubfile="universalJavaApplicationStub/src/universalJavaApplicationStub"
dir="tmp"
jar="AudiobookRecorder.jar"
mainclass="uk.co.majenko.audiobookrecorder.AudiobookRecorder"
jvmversion="1.7+"
>
</jarbundler>
<!--
<mkdir dir="tmp/AudiobookRecorder.app"/>
<copy todir="tmp/AudiobookRecorder.app">
<fileset dir="dist/macosx/template.app" includes="*/**"/>
</copy>
<replace file="tmp/AudiobookRecorder.app/Contents/Info.plist" token="{version}" value="0.0.4" />
<copy file="AudiobookRecorder.jar" todir="tmp/AudiobookRecorder.app/Contents/Resources/Java" />
-->
<jarbundler
name="AudiobookRecorder"
shortname="AudiobookRecorder"
icon="dist/macosx/audiobookrecorder.icns"
stubfile="universalJavaApplicationStub/src/universalJavaApplicationStub"
dir="tmp"
jar="AudiobookRecorder.jar"
mainclass="uk.co.majenko.audiobookrecorder.AudiobookRecorder"
jvmversion="1.7+"
>
</jarbundler>
<symlink link="tmp/Applications" resource="/Applications" overwrite="true" />
<!--copy file="dist/macosx/dmg.icns" tofile="tmp/.VolumeIcon.icns" /-->
<exec executable="genisoimage">
<arg value="-D" />
<arg value="-V" />
@@ -93,7 +84,7 @@
<arg value="tmp" />
</exec>
<!--delete dir="tmp" /-->
<delete dir="tmp" />
</target>
</project>

BIN
dist/macosx/dmg.icns vendored Normal file

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB