|
2 | 2 | <plist version="1.0">
|
3 | 3 | <dict>
|
4 | 4 | <key>CFBundlePackageType</key>
|
5 |
| - <string>APPL</string> |
| 5 | + <string>APPL</string> |
6 | 6 | <key>CFBundleName</key>
|
7 |
| - <string>{{.ProductName}}</string> |
| 7 | + <string>{{.ProductName}}</string> |
8 | 8 | <key>CFBundleExecutable</key>
|
9 |
| - <string>{{.BinaryName}}</string> |
| 9 | + <string>{{.BinaryName}}</string> |
10 | 10 | <key>CFBundleIdentifier</key>
|
11 |
| - <string>{{.ProductIdentifier}}</string> |
| 11 | + <string>{{.ProductIdentifier}}</string> |
12 | 12 | <key>CFBundleVersion</key>
|
13 |
| - <string>{{.ProductVersion}}</string> |
| 13 | + <string>{{.ProductVersion}}</string> |
14 | 14 | <key>CFBundleGetInfoString</key>
|
15 |
| - <string>{{.ProductComments}}</string> |
| 15 | + <string>{{.ProductComments}}</string> |
16 | 16 | <key>CFBundleShortVersionString</key>
|
17 |
| - <string>{{.ProductVersion}}</string> |
| 17 | + <string>{{.ProductVersion}}</string> |
18 | 18 | <key>CFBundleIconFile</key>
|
19 |
| - <string>icons</string> |
| 19 | + <string>icons</string> |
20 | 20 | <key>LSMinimumSystemVersion</key>
|
21 |
| - <string>10.15.0</string> |
| 21 | + <string>10.15.0</string> |
22 | 22 | <key>NSHighResolutionCapable</key>
|
23 |
| - <string>true</string> |
| 23 | + <string>true</string> |
24 | 24 | <key>NSHumanReadableCopyright</key>
|
25 |
| - <string>{{.ProductCopyright}}</string> |
| 25 | + <string>{{.ProductCopyright}}</string> |
| 26 | + {{- if .FileAssociations}} |
| 27 | + <key>CFBundleDocumentTypes</key> |
| 28 | + <array> |
| 29 | + {{- range .FileAssociations}} |
| 30 | + <dict> |
| 31 | + <key>CFBundleTypeExtensions</key> |
| 32 | + <array> |
| 33 | + <string>{{.Ext}}</string> |
| 34 | + </array> |
| 35 | + <key>CFBundleTypeName</key> |
| 36 | + <string>{{.Name}}</string> |
| 37 | + <key>CFBundleTypeRole</key> |
| 38 | + <string>{{.Role}}</string> |
| 39 | + <key>CFBundleTypeIconFile</key> |
| 40 | + <string>{{.IconName}}</string> |
| 41 | + {{- if .MimeType}} |
| 42 | + <key>CFBundleTypeMimeType</key> |
| 43 | + <string>{{.MimeType}}</string> |
| 44 | + {{- end}} |
| 45 | + </dict> |
| 46 | + {{- end}} |
| 47 | + </array> |
| 48 | + {{- end}} |
26 | 49 | <key>NSAppTransportSecurity</key>
|
27 | 50 | <dict>
|
28 | 51 | <key>NSAllowsLocalNetworking</key>
|
|
0 commit comments