Skip to content

Commit 3b1b70c

Browse files
committed
Fixes to the OS X Packaging
But it still doesn't work. Good luck David!
1 parent b5f924b commit 3b1b70c

File tree

4 files changed

+34
-34
lines changed

4 files changed

+34
-34
lines changed

Info.plist

Lines changed: 22 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,27 @@
22
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
44
<dict>
5-
<!--
6-
The keys of the plist and their purpose are documented on Apple's developer website:
7-
8-
https://developer.apple.com/library/mac/#documentation/CoreFoundation/Conceptual/CFBundles/BundleTypes/BundleTypes.html
9-
10-
Required Keys
11-
-->
12-
<key>CFBundlePackageType</key><string>APPL</string>
13-
<key>CFBundleName</key><string>gguploader</string>
14-
<key>CFBunderVersion</key><string>1.0.0</string>
15-
<key>CFBundleDisplayName</key><string>GGTracker Uploader</string>
16-
<key>CFBundleIdentifier</key><string>com.ggtracker.uploader</string>
17-
<key>CFBundleSignature</key><string>ggup</string>
18-
<key>CFBundleExecutable</key><string>ggtracker.jar</string>
19-
20-
<!-- Extras -->
21-
<key>CFBundleIconFile</key><string>gg.png</string>
22-
<key>NSHumanReadableCopyright</key><string>Copyright ggtracker, inc. 2012</string>
23-
24-
<key>CFBundleShortVersionString</key><string>1.0.0</string>
25-
<key>CFBundleInfoDictionaryVersion</key><string>6.0</string>
26-
27-
<key>IFMajorVersion</key><integer>0</integer>
28-
<key>IFMinorVersion</key><integer>1</integer>
5+
<key>CFBundleDisplayName</key>
6+
<string>GGTracker Uploader</string>
7+
<key>CFBundleExecutable</key>
8+
<string>ggtracker.jar</string>
9+
<key>CFBundleGetInfoString</key>
10+
<string>GGUploader</string>
11+
<key>CFBundleIconFile</key>
12+
<string>gg.icns</string>
13+
<key>CFBundleIdentifier</key>
14+
<string>com.ggtracker.uploader</string>
15+
<key>CFBundleInfoDictionaryVersion</key>
16+
<string>1.0</string>
17+
<key>CFBundleName</key>
18+
<string>gguploader</string>
19+
<key>CFBundlePackageType</key>
20+
<string>APPL</string>
21+
<key>CFBundleShortVersionString</key>
22+
<string>1.0.0</string>
23+
<key>CFBundleSignature</key>
24+
<string>GGUP</string>
25+
<key>CFBunderVersion</key>
26+
<string>1.0.0</string>
2927
</dict>
3028
</plist>

build.xml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,18 +48,21 @@
4848
<java jar="build/gguploader/gguploader.jar" fork="true" />
4949
</target>
5050

51-
<target name="package-windows" depends="package">
52-
<mkdir dir="build/gguploader-windows/libs" />
53-
<copy todir="build/gguploader-windows/libs">
51+
<target name="package-win" depends="package">
52+
<mkdir dir="build/gguploader-win/libs" />
53+
<copy todir="build/gguploader-win/libs">
5454
<fileset dir="build/gguploader/libs" />
5555
</copy>
56-
<copy todir="build/gguploader-windows/">
56+
<copy todir="build/gguploader-win/">
5757
<fileset dir=".">
5858
<include name="gg.ico" />
5959
<include name="LICENSE.txt" />
6060
</fileset>
6161
</copy>
6262
<launch4j configFile="launch4j.xml" />
63+
<zip destfile="build/gguploader-win.zip" basedir="build">
64+
<include name="gguploader-win/**"/>
65+
</zip>
6366
</target>
6467

6568
<target name="package-osx" depends="package">
@@ -70,15 +73,14 @@
7073
</copy>
7174

7275
<mkdir dir="build/gguploader-osx/gguploader.app/Contents/Resources" />
76+
<copy todir="build/gguploader-osx/gguploader.app/Contents" file="Info.plist" />
7377
<copy todir="build/gguploader-osx/gguploader.app/Contents/Resources">
74-
<fileset dir=".">
75-
<include name="Info.plist" />
76-
<include name="LICENSE.txt" />
77-
</fileset>
7878
<fileset dir="resources">
79-
<include name="gg.png" />
79+
<include name="gg.icns" />
8080
</fileset>
8181
</copy>
82+
83+
<zip destfile="build/gguploader-osx.zip" basedir="build/gguploader-osx" />
8284
</target>
8385

8486
<!--

launch4j.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<dontWrapJar>false</dontWrapJar>
33
<headerType>gui</headerType>
44
<jar>build/gguploader/gguploader.jar</jar>
5-
<outfile>build/gguploader-windows/gguploader.exe</outfile>
5+
<outfile>build/gguploader-win/gguploader.exe</outfile>
66
<errTitle>GGTracker Auto-Uploader</errTitle>
77
<cmdLine></cmdLine>
88
<chdir>.</chdir>

resources/gg.icns

11.3 KB
Binary file not shown.

0 commit comments

Comments
 (0)