Improved OSX building
This commit is contained in:
6
.gitignore
vendored
Normal file
6
.gitignore
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
.DS_Store
|
||||
._*
|
||||
bin
|
||||
AudiobookRecorder.jar
|
||||
AudiobookRecorder.dmg
|
||||
AudiobookRecorder.exe
|
||||
1
TODO.md
1
TODO.md
@@ -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
|
||||
|
||||
37
build.xml
37
build.xml
@@ -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
BIN
dist/macosx/dmg.icns
vendored
Normal file
Binary file not shown.
BIN
resources/uk/co/majenko/audiobookrecorder/icons/dmgIcon.png
Normal file
BIN
resources/uk/co/majenko/audiobookrecorder/icons/dmgIcon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 19 KiB |
Reference in New Issue
Block a user