|
2 | 2 | <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> |
3 | 3 | <plist version="1.0"> |
4 | 4 | <dict> |
5 | | - <key>CFBundleName</key> |
6 | | - <string><%= @package.name %></string> |
7 | 5 | <key>CFBundleDisplayName</key> |
8 | 6 | <string><%= @package.name %></string> |
9 | | - <key>CFBundleDevelopmentRegion</key> |
10 | | - <string>en</string> |
| 7 | + <key>CFBundleName</key> |
| 8 | + <string><%= @package.name %></string> |
| 9 | + <key>CFBundleIdentifier</key> |
| 10 | + <string><%= @package.identifier %></string> |
11 | 11 | <key>CFBundleExecutable</key> |
12 | 12 | <string>run</string> |
13 | 13 | <key>CFBundleIconFile</key> |
14 | 14 | <string>icons.icns</string> |
15 | | - <key>CFBundleIdentifier</key> |
16 | | - <string><%= @package.identifier %></string> |
17 | | - <key>CFBundleInfoDictionaryVersion</key> |
18 | | - <string>6.0</string> |
19 | 15 | <key>CFBundlePackageType</key> |
20 | 16 | <string>APPL</string> |
21 | 17 | <key>CFBundleShortVersionString</key> |
22 | 18 | <string><%= @release.version %></string> |
23 | | - <key>CFBundleSignature</key> |
24 | | - <string>????</string> |
25 | 19 | <key>CFBundleVersion</key> |
26 | 20 | <string><%= @release.version %></string> |
| 21 | + <key>CFBundleInfoDictionaryVersion</key> |
| 22 | + <string>6.0</string> |
27 | 23 | <key>LSMinimumSystemVersion</key> |
28 | | - <string>10.12.0</string> |
29 | | - <key>LSApplicationCategoryType</key> |
30 | | - <string><%= @package.category_macos %></string> |
31 | | - <key>LSUIElement</key> |
32 | | - <true/> |
33 | | - <key>LSMultipleInstancesProhibited</key> |
34 | | - <true/> |
35 | | - <key>NSPrincipalClass</key> |
36 | | - <string>NSApplication</string> |
37 | | - <key>LSArchitecturePriority</key> |
38 | | - <array> |
39 | | - <string>x86_64</string> |
40 | | - </array> |
41 | | - <key>CFBundleDocumentTypes</key> |
| 24 | + <string>10.13</string> |
| 25 | + <key>NSUserNotificationAlertStyle</key> |
| 26 | + <string>alert</string> |
| 27 | + <key>CFBundleURLTypes</key> |
42 | 28 | <array> |
43 | 29 | <dict> |
44 | | - <key>CFBundleTypeName</key> |
45 | | - <string>All Files</string> |
46 | | - <key>LSHandlerRank</key> |
47 | | - <string>Alternate</string> |
48 | | - <key>LSItemContentTypes</key> |
| 30 | + <key>CFBundleURLName</key> |
| 31 | + <string><%= @package.name %> Protocol</string> |
| 32 | + <key>CFBundleURLSchemes</key> |
49 | 33 | <array> |
50 | | - <string>public.data</string> |
51 | | - <string>public.content</string> |
| 34 | + <%= for scheme in @package.schemes do %> |
| 35 | + <string><%= scheme %></string> |
| 36 | + <% end %> |
52 | 37 | </array> |
53 | 38 | </dict> |
54 | 39 | </array> |
| 40 | + <key>NSAppTransportSecurity</key> |
| 41 | + <dict> |
| 42 | + <key>NSExceptionDomains</key> |
| 43 | + <dict> |
| 44 | + <key>localhost</key> |
| 45 | + <dict> |
| 46 | + <key>NSExceptionAllowsInsecureHTTPLoads</key> |
| 47 | + <true/> |
| 48 | + <key>NSIncludesSubdomains</key> |
| 49 | + <true/> |
| 50 | + </dict> |
| 51 | + </dict> |
| 52 | + </dict> |
55 | 53 | </dict> |
56 | 54 | </plist> |
0 commit comments