Update pass extension settings

This commit is contained in:
Yishi Lin 2018-04-10 01:17:51 +08:00
parent 6981860caa
commit a45127be41

View file

@ -25,14 +25,17 @@
<key>NSExtensionAttributes</key> <key>NSExtensionAttributes</key>
<dict> <dict>
<key>NSExtensionActivationRule</key> <key>NSExtensionActivationRule</key>
<dict> <string>SUBQUERY (
<key>NSExtensionActivationSupportsText</key> extensionItems,
<true/> $extensionItem,
<key>NSExtensionActivationSupportsWebPageWithMaxCount</key> SUBQUERY (
<integer>1</integer> $extensionItem.attachments,
<key>NSExtensionActivationSupportsWebURLWithMaxCount</key> $attachment,
<integer>1</integer> ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "org.appextension.find-login-action" ||
</dict> ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.url" ||
ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.plain-text"
).@count == $extensionItem.attachments.@count
).@count == 1</string>
<key>NSExtensionJavaScriptPreprocessingFile</key> <key>NSExtensionJavaScriptPreprocessingFile</key>
<string>passProcessor</string> <string>passProcessor</string>
</dict> </dict>