We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fcd142 commit 4301cf3Copy full SHA for 4301cf3
src/main/resources/mac/Info.plist.vtl
@@ -4,6 +4,21 @@
4
<dict>
5
<key>CFBundleGetInfoString</key>
6
<string>${info.displayName} ${info.version}</string>
7
+#if (!$info.fileAssociations.isEmpty())
8
+ <key>CFBundleDocumentTypes</key>
9
+ <array>
10
+#foreach ($fileAssociation in $info.fileAssociations)
11
+ <dict>
12
+ <key>CFBundleTypeExtensions</key>
13
14
+ <string>${fileAssociation.extension}</string>
15
+ </array>
16
+ <key>CFBundleTypeName</key>
17
+ <string>${fileAssociation.description}</string>
18
+ </dict>
19
+#end
20
21
22
<key>CFBundleDevelopmentRegion</key>
23
<string>English</string>
24
<key>CFBundleExecutable</key>
0 commit comments