Sfoglia il codice sorgente

Started implementing support for Mac App Bundling.

Thomas Buck 10 anni fa
parent
commit
a0525c3c3d
3 ha cambiato i file con 42 aggiunte e 0 eliminazioni
  1. 8
    0
      Makefile
  2. 34
    0
      mac_dist/Info.plist
  3. BIN
      mac_dist/openraider.icns

+ 8
- 0
Makefile Vedi File

@@ -114,6 +114,13 @@ auto: $(BUILD_SELECT)
114 114
 
115 115
 targets: $(TARGETS)
116 116
 
117
+bundle: release
118
+	mkdir -p bin/OpenRaider.app/Contents/MacOS
119
+	mkdir -p bin/OpenRaider.app/Contents/Resources
120
+	cp mac_dist/Info.plist bin/OpenRaider.app/Contents/Info.plist
121
+	cp mac_dist/openraider.icns bin/OpenRaider.app/Contents/Resources/openraider.icns
122
+	cp bin/release/OpenRaider bin/OpenRaider.app/Contents/MacOS/OpenRaider
123
+
117 124
 all: debug release prof
118 125
 
119 126
 debug:
@@ -215,6 +222,7 @@ endif
215 222
 #################################################################
216 223
 
217 224
 clean: clean-emacs clean-build clean-test clean-obj clean-dep
225
+	@-rm -rf bin/OpenRaider.app
218 226
 
219 227
 clean-dep:
220 228
 	@-echo "Cleaning dependencies                        "

+ 34
- 0
mac_dist/Info.plist Vedi File

@@ -0,0 +1,34 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+<plist version="1.0">
4
+<dict>
5
+        <key>CFBundleDevelopmentRegion</key>
6
+        <string>English</string>
7
+        <key>CFBundleExecutable</key>
8
+        <string>OpenRaider</string>
9
+        <key>CFBundleGetInfoString</key>
10
+        <string>OpenRaider Version 0.1.1</string>
11
+        <key>CFBundleIconFile</key>
12
+        <string>openraider.icns</string>
13
+        <key>CFBundleIdentifier</key>
14
+        <string>org.xythobuz.openraider</string>
15
+        <key>CFBundleInfoDictionaryVersion</key>
16
+        <string>6.0</string>
17
+        <key>CFBundleLongVersionString</key>
18
+        <string>0.1.1</string>
19
+        <key>CFBundleName</key>
20
+        <string>OpenRaider</string>
21
+        <key>CFBundlePackageType</key>
22
+        <string>APPL</string>
23
+        <key>CFBundleShortVersionString</key>
24
+        <string>0.1.1</string>
25
+        <key>CFBundleSignature</key>
26
+        <string>????</string>
27
+        <key>CFBundleVersion</key>
28
+        <string>0.1.1</string>
29
+        <key>CSResourcesFileMapped</key>
30
+        <true/>
31
+        <key>NSHumanReadableCopyright</key>
32
+        <string>Copyright 2013</string>
33
+</dict>
34
+</plist>

BIN
mac_dist/openraider.icns Vedi File


Loading…
Annulla
Salva