mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-21 20:45:51 +03:00
Add lock/unlock actions in FileProviderUIExt info plist
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
73674bf633
commit
501c1c4d62
1 changed files with 22 additions and 6 deletions
|
@ -2,16 +2,32 @@
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
<plist version="1.0">
|
<plist version="1.0">
|
||||||
<dict>
|
<dict>
|
||||||
<key>CFBundleName</key>
|
<key>CFBundleName</key>
|
||||||
<string>$(PRODUCT_NAME)</string>
|
<string>$(PRODUCT_NAME)</string>
|
||||||
<key>CFBundleDisplayName</key>
|
<key>CFBundleDisplayName</key>
|
||||||
<string>$(OC_APPLICATION_NAME) File Provider UI Extension</string>
|
<string>$(OC_APPLICATION_NAME) File Provider UI Extension</string>
|
||||||
<key>CFBundleIdentifier</key>
|
<key>CFBundleIdentifier</key>
|
||||||
<string>$(OC_APPLICATION_REV_DOMAIN).$(PRODUCT_NAME)</string>
|
<string>$(OC_APPLICATION_REV_DOMAIN).$(PRODUCT_NAME)</string>
|
||||||
<key>NSExtension</key>
|
<key>NSExtension</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>NSExtensionFileProviderActions</key>
|
<key>NSExtensionFileProviderActions</key>
|
||||||
<array>
|
<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."isUnlockable" == YES ).@count > 0</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>NSExtensionFileProviderActionActivationRule</key>
|
||||||
|
<string>SUBQUERY ( fileproviderItems, $fileproviderItem, $fileproviderItem.userInfo."isLockable" == YES ).@count > 0</string>
|
||||||
|
<key>NSExtensionFileProviderActionName</key>
|
||||||
|
<string>Lock file</string>
|
||||||
|
<key>NSExtensionFileProviderActionIdentifier</key>
|
||||||
|
<string>com.nextcloud.desktopclient.FileProviderUIExt.LockFileAction</string>
|
||||||
|
</dict>
|
||||||
<dict>
|
<dict>
|
||||||
<key>NSExtensionFileProviderActionActivationRule</key>
|
<key>NSExtensionFileProviderActionActivationRule</key>
|
||||||
<string>TRUEPREDICATE</string>
|
<string>TRUEPREDICATE</string>
|
||||||
|
|
Loading…
Reference in a new issue