|
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>WPAppBrand</key> |
| 6 | + <string>wordpress</string> |
5 | 7 | <key>WPAppGroupName</key>
|
6 | 8 | <string>${WP_APP_GROUP_NAME}</string>
|
7 | 9 | <key>WPAppKeychainAccessGroup</key>
|
|
35 | 37 | <key>NSExtensionAttributes</key>
|
36 | 38 | <dict>
|
37 | 39 | <key>NSExtensionActivationRule</key>
|
38 |
| - <string> |
| 40 | + <string> |
39 | 41 | SUBQUERY(
|
40 | 42 | extensionItems,
|
41 | 43 | $extensionItem,
|
42 | 44 | (SUBQUERY(
|
43 | 45 | $extensionItem.attachments,
|
44 | 46 | $attachment,
|
45 |
| - ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.image" |
46 |
| - || ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.png" |
47 |
| - || ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.jpeg" |
48 |
| - || ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.jpeg-2000" |
49 |
| - || ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.tiff" |
50 |
| - || ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "com.compuserve.gif" |
51 |
| - || ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "com.microsoft.bmp" |
| 47 | + ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.image" |
| 48 | + || ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.png" |
| 49 | + || ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.jpeg" |
| 50 | + || ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.jpeg-2000" |
| 51 | + || ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.tiff" |
| 52 | + || ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "com.compuserve.gif" |
| 53 | + || ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "com.microsoft.bmp" |
52 | 54 | ).@count >= 1
|
53 | 55 | OR
|
54 | 56 | SUBQUERY(
|
55 | 57 | $extensionItem.attachments,
|
56 | 58 | $attachment,
|
57 |
| - ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.plain-text" |
58 |
| - || ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.text" |
| 59 | + ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.plain-text" |
| 60 | + || ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.text" |
59 | 61 | ).@count == 1
|
60 | 62 | OR
|
61 | 63 | SUBQUERY(
|
62 | 64 | $extensionItem.attachments,
|
63 | 65 | $attachment,
|
64 |
| - ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.url" |
65 |
| - || ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.file-url" |
| 66 | + ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.url" |
| 67 | + || ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.file-url" |
66 | 68 | ).@count == 1)
|
67 | 69 | AND
|
68 | 70 | SUBQUERY(
|
69 | 71 | $extensionItem.attachments,
|
70 | 72 | $attachment,
|
71 |
| - ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "org.appextension.find-login-action" |
72 |
| - || ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "org.appextension.save-login-action" |
| 73 | + ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "org.appextension.find-login-action" |
| 74 | + || ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "org.appextension.save-login-action" |
73 | 75 | ).@count == 0
|
74 |
| - ).@count >= 1 |
| 76 | + ).@count >= 1 |
75 | 77 | </string>
|
76 | 78 | <key>NSExtensionJavaScriptPreprocessingFile</key>
|
77 | 79 | <string>WordPressShare</string>
|
|
0 commit comments