mirror of
https://github.com/nextcloud/desktop.git
synced 2024-12-20 12:52:06 +03:00
419035c275
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
46 lines
2.1 KiB
Text
46 lines
2.1 KiB
Text
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
<plist version="1.0">
|
|
<dict>
|
|
<key>CFBundleName</key>
|
|
<string>$(PRODUCT_NAME)</string>
|
|
<key>CFBundleDisplayName</key>
|
|
<string>$(OC_APPLICATION_NAME) File Provider UI Extension</string>
|
|
<key>CFBundleIdentifier</key>
|
|
<string>$(OC_APPLICATION_REV_DOMAIN).$(PRODUCT_NAME)</string>
|
|
<key>NSExtension</key>
|
|
<dict>
|
|
<key>NSExtensionFileProviderActions</key>
|
|
<array>
|
|
<dict>
|
|
<key>NSExtensionFileProviderActionIdentifier</key>
|
|
<string>com.nextcloud.desktopclient.FileProviderUIExt.UnlockFileAction</string>
|
|
<key>NSExtensionFileProviderActionName</key>
|
|
<string>Unlock file</string>
|
|
<key>NSExtensionFileProviderActionActivationRule</key>
|
|
<string>SUBQUERY ( fileproviderItems, $fileproviderItem, $fileproviderItem.userInfo.locked != nil && !($fileproviderItem.contentType.identifier UTI-CONFORMS-TO "public.folder") ).@count > 0</string>
|
|
</dict>
|
|
<dict>
|
|
<key>NSExtensionFileProviderActionActivationRule</key>
|
|
<string>SUBQUERY ( fileproviderItems, $fileproviderItem, $fileproviderItem.userInfo.locked == nil && !($fileproviderItem.contentType.identifier UTI-CONFORMS-TO "public.folder") ).@count > 0</string>
|
|
<key>NSExtensionFileProviderActionName</key>
|
|
<string>Lock file</string>
|
|
<key>NSExtensionFileProviderActionIdentifier</key>
|
|
<string>com.nextcloud.desktopclient.FileProviderUIExt.LockFileAction</string>
|
|
</dict>
|
|
<dict>
|
|
<key>NSExtensionFileProviderActionActivationRule</key>
|
|
<string>TRUEPREDICATE</string>
|
|
<key>NSExtensionFileProviderActionIdentifier</key>
|
|
<string>com.nextcloud.desktopclient.FileProviderUIExt.ShareAction</string>
|
|
<key>NSExtensionFileProviderActionName</key>
|
|
<string>Share options</string>
|
|
</dict>
|
|
</array>
|
|
<key>NSExtensionPointIdentifier</key>
|
|
<string>com.apple.fileprovider-actionsui</string>
|
|
<key>NSExtensionPrincipalClass</key>
|
|
<string>$(PRODUCT_MODULE_NAME).DocumentActionViewController</string>
|
|
</dict>
|
|
</dict>
|
|
</plist>
|