diff options
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rw-r--r-- | res/MacOSXBundleInfo.plist.in | 4 | ||||
-rw-r--r-- | res/iOSBundleInfo.plist.in | 96 |
3 files changed, 97 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 792433e2..5583afc2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -286,6 +286,7 @@ if (APPLE) | |||
286 | ) | 286 | ) |
287 | if (IOS) | 287 | if (IOS) |
288 | set_target_properties (app PROPERTIES | 288 | set_target_properties (app PROPERTIES |
289 | MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_LIST_DIR}/res/iOSBundleInfo.plist.in" | ||
289 | MACOSX_BUNDLE_BUNDLE_VERSION "${IOS_BUNDLE_VERSION}" | 290 | MACOSX_BUNDLE_BUNDLE_VERSION "${IOS_BUNDLE_VERSION}" |
290 | XCODE_ATTRIBUTE_SKIP_INSTALL "NO" | 291 | XCODE_ATTRIBUTE_SKIP_INSTALL "NO" |
291 | XCODE_ATTRIBUTE_INSTALL_PATH "$(LOCAL_APPS_DIR)" | 292 | XCODE_ATTRIBUTE_INSTALL_PATH "$(LOCAL_APPS_DIR)" |
diff --git a/res/MacOSXBundleInfo.plist.in b/res/MacOSXBundleInfo.plist.in index 18fdc4a3..f5047748 100644 --- a/res/MacOSXBundleInfo.plist.in +++ b/res/MacOSXBundleInfo.plist.in | |||
@@ -49,10 +49,6 @@ | |||
49 | </array> | 49 | </array> |
50 | <key>UILaunchStoryboardName</key> | 50 | <key>UILaunchStoryboardName</key> |
51 | <string>LaunchScreen</string> | 51 | <string>LaunchScreen</string> |
52 | <key>ITSAppUsesNonExemptEncryption</key> | ||
53 | <false/> | ||
54 | <key>LSSupportsOpeningDocumentsInPlace</key> | ||
55 | <false/> | ||
56 | <key>CFBundleDocumentTypes</key> | 52 | <key>CFBundleDocumentTypes</key> |
57 | <array> | 53 | <array> |
58 | <dict> | 54 | <dict> |
diff --git a/res/iOSBundleInfo.plist.in b/res/iOSBundleInfo.plist.in new file mode 100644 index 00000000..18fdc4a3 --- /dev/null +++ b/res/iOSBundleInfo.plist.in | |||
@@ -0,0 +1,96 @@ | |||
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>${MACOSX_BUNDLE_EXECUTABLE_NAME}</string> | ||
9 | <key>CFBundleGetInfoString</key> | ||
10 | <string>${MACOSX_BUNDLE_INFO_STRING}</string> | ||
11 | <key>CFBundleIconName</key> | ||
12 | <string>${MACOSX_BUNDLE_ICON_FILE}</string> | ||
13 | <key>CFBundleIdentifier</key> | ||
14 | <string>${MACOSX_BUNDLE_GUI_IDENTIFIER}</string> | ||
15 | <key>CFBundleInfoDictionaryVersion</key> | ||
16 | <string>6.0</string> | ||
17 | <key>CFBundleName</key> | ||
18 | <string>${MACOSX_BUNDLE_BUNDLE_NAME}</string> | ||
19 | <key>CFBundlePackageType</key> | ||
20 | <string>APPL</string> | ||
21 | <key>CFBundleVersion</key> | ||
22 | <string>${MACOSX_BUNDLE_BUNDLE_VERSION}</string> | ||
23 | <key>CFBundleShortVersionString</key> | ||
24 | <string>${MACOSX_BUNDLE_SHORT_VERSION_STRING}</string> | ||
25 | <key>CFBundleSignature</key> | ||
26 | <string>????</string> | ||
27 | <key>CSResourcesFileMapped</key> | ||
28 | <true/> | ||
29 | <key>NSHumanReadableCopyright</key> | ||
30 | <string>${MACOSX_BUNDLE_COPYRIGHT}</string> | ||
31 | <key>NSHighResolutionCapable</key> | ||
32 | <true/> | ||
33 | <key>NSRequiresAquaSystemAppearance</key> | ||
34 | <false/> | ||
35 | <key>NSSupportsAutomaticGraphicsSwitching</key> | ||
36 | <true/> | ||
37 | <key>UISupportedInterfaceOrientations</key> | ||
38 | <array> | ||
39 | <string>UIInterfaceOrientationPortrait</string> | ||
40 | <string>UIInterfaceOrientationLandscapeLeft</string> | ||
41 | <string>UIInterfaceOrientationLandscapeRight</string> | ||
42 | </array> | ||
43 | <key>UISupportedInterfaceOrientations~ipad</key> | ||
44 | <array> | ||
45 | <string>UIInterfaceOrientationPortrait</string> | ||
46 | <string>UIInterfaceOrientationPortraitUpsideDown</string> | ||
47 | <string>UIInterfaceOrientationLandscapeLeft</string> | ||
48 | <string>UIInterfaceOrientationLandscapeRight</string> | ||
49 | </array> | ||
50 | <key>UILaunchStoryboardName</key> | ||
51 | <string>LaunchScreen</string> | ||
52 | <key>ITSAppUsesNonExemptEncryption</key> | ||
53 | <false/> | ||
54 | <key>LSSupportsOpeningDocumentsInPlace</key> | ||
55 | <false/> | ||
56 | <key>CFBundleDocumentTypes</key> | ||
57 | <array> | ||
58 | <dict> | ||
59 | <key>CFBundleTypeExtensions</key> | ||
60 | <array> | ||
61 | <string>gmi</string> | ||
62 | <string>gemini</string> | ||
63 | </array> | ||
64 | <key>CFBundleTypeIconFile</key> | ||
65 | <string>text-gemini.icns</string> | ||
66 | <key>CFBundleTypeName</key> | ||
67 | <string>Gemini Text File</string> | ||
68 | <key>CFBundleTypeRole</key> | ||
69 | <string>Viewer</string> | ||
70 | <key>LSHandlerRank</key> | ||
71 | <string>Default</string> | ||
72 | <key>LSTypeIsPackage</key> | ||
73 | <false/> | ||
74 | </dict> | ||
75 | </array> | ||
76 | <key>CFBundleURLTypes</key> | ||
77 | <array> | ||
78 | <dict> | ||
79 | <key>CFBundleURLName</key> | ||
80 | <string>Gemini</string> | ||
81 | <key>CFBundleURLSchemes</key> | ||
82 | <array> | ||
83 | <string>gemini</string> | ||
84 | </array> | ||
85 | </dict> | ||
86 | <dict> | ||
87 | <key>CFBundleURLName</key> | ||
88 | <string>Gopher</string> | ||
89 | <key>CFBundleURLSchemes</key> | ||
90 | <array> | ||
91 | <string>gopher</string> | ||
92 | </array> | ||
93 | </dict> | ||
94 | </array> | ||
95 | </dict> | ||
96 | </plist> | ||