diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-05-06 13:04:57 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-05-06 13:04:57 +0300 |
commit | ab70c91fcdb26b6ea0f851af7d975fa4c938dbe1 (patch) | |
tree | 24127e0330132d49473345aa4391b661f7970a85 | |
parent | 24b7629d6a653667b3fdffa333f3785e0f9d8707 (diff) |
macOS: Register app as .gpub viewer
-rw-r--r-- | res/MacOSXBundleInfo.plist.in | 16 | ||||
-rw-r--r-- | res/iOSBundleInfo.plist.in | 16 |
2 files changed, 32 insertions, 0 deletions
diff --git a/res/MacOSXBundleInfo.plist.in b/res/MacOSXBundleInfo.plist.in index a6a02415..a17831ad 100644 --- a/res/MacOSXBundleInfo.plist.in +++ b/res/MacOSXBundleInfo.plist.in | |||
@@ -68,6 +68,22 @@ | |||
68 | <key>LSTypeIsPackage</key> | 68 | <key>LSTypeIsPackage</key> |
69 | <false/> | 69 | <false/> |
70 | </dict> | 70 | </dict> |
71 | <dict> | ||
72 | <key>CFBundleTypeExtensions</key> | ||
73 | <array> | ||
74 | <string>gpub</string> | ||
75 | </array> | ||
76 | <key>CFBundleTypeIconFile</key> | ||
77 | <string>gempub.icns</string> | ||
78 | <key>CFBundleTypeName</key> | ||
79 | <string>Gempub Book</string> | ||
80 | <key>CFBundleTypeRole</key> | ||
81 | <string>Viewer</string> | ||
82 | <key>LSHandlerRank</key> | ||
83 | <string>Default</string> | ||
84 | <key>LSTypeIsPackage</key> | ||
85 | <false/> | ||
86 | </dict> | ||
71 | </array> | 87 | </array> |
72 | <key>CFBundleURLTypes</key> | 88 | <key>CFBundleURLTypes</key> |
73 | <array> | 89 | <array> |
diff --git a/res/iOSBundleInfo.plist.in b/res/iOSBundleInfo.plist.in index 1124c078..1cf0a303 100644 --- a/res/iOSBundleInfo.plist.in +++ b/res/iOSBundleInfo.plist.in | |||
@@ -76,6 +76,22 @@ | |||
76 | <key>LSTypeIsPackage</key> | 76 | <key>LSTypeIsPackage</key> |
77 | <false/> | 77 | <false/> |
78 | </dict> | 78 | </dict> |
79 | <dict> | ||
80 | <key>CFBundleTypeExtensions</key> | ||
81 | <array> | ||
82 | <string>gpub</string> | ||
83 | </array> | ||
84 | <key>CFBundleTypeIconFile</key> | ||
85 | <string>gempub.icns</string> | ||
86 | <key>CFBundleTypeName</key> | ||
87 | <string>Gempub Book</string> | ||
88 | <key>CFBundleTypeRole</key> | ||
89 | <string>Viewer</string> | ||
90 | <key>LSHandlerRank</key> | ||
91 | <string>Default</string> | ||
92 | <key>LSTypeIsPackage</key> | ||
93 | <false/> | ||
94 | </dict> | ||
79 | </array> | 95 | </array> |
80 | <key>CFBundleURLTypes</key> | 96 | <key>CFBundleURLTypes</key> |
81 | <array> | 97 | <array> |