From a347553456e5b9fe0cba0df0e6a98cde26947ec7 Mon Sep 17 00:00:00 2001 From: Iva Horn Date: Fri, 27 Mar 2026 18:08:09 +0100 Subject: [PATCH] fix(macOS): Extension Display Names Signed-off-by: Iva Horn --- .../FileProviderExt/Info.plist | 32 ++++++++----------- .../FileProviderUIExt/Info.plist | 26 +++++++-------- .../FinderSyncExt/Info.plist | 16 +++++----- 3 files changed, 33 insertions(+), 41 deletions(-) diff --git a/shell_integration/MacOSX/NextcloudIntegration/FileProviderExt/Info.plist b/shell_integration/MacOSX/NextcloudIntegration/FileProviderExt/Info.plist index 616bcdd392ce1..ceb30173c3211 100644 --- a/shell_integration/MacOSX/NextcloudIntegration/FileProviderExt/Info.plist +++ b/shell_integration/MacOSX/NextcloudIntegration/FileProviderExt/Info.plist @@ -2,11 +2,6 @@ - NSAppTransportSecurity - - NSAllowsArbitraryLoads - - CFBundleIcons CFBundlePrimaryIcon @@ -15,12 +10,13 @@ cloud - CFBundleName - $(PRODUCT_NAME) CFBundleDisplayName - $(OC_APPLICATION_NAME) File Provider Extension - CFBundleIdentifier - $(OC_APPLICATION_REV_DOMAIN).$(PRODUCT_NAME) + $(OC_APPLICATION_NAME) File Provider + NSAppTransportSecurity + + NSAllowsArbitraryLoads + + NSExtension NSExtensionFileProviderActions @@ -41,14 +37,14 @@ NSExtensionFileProviderActionName Allow automatic freeing up space - - NSExtensionFileProviderActionActivationRule - SUBQUERY ( fileproviderItems, $fileproviderItem, $fileproviderItem.userInfo.displayFileActions == true ).@count > 0 - NSExtensionFileProviderActionIdentifier - com.nextcloud.desktopclient.FileProviderExt.FileActionsAction - NSExtensionFileProviderActionName - File actions - + + NSExtensionFileProviderActionActivationRule + SUBQUERY ( fileproviderItems, $fileproviderItem, $fileproviderItem.userInfo.displayFileActions == true ).@count > 0 + NSExtensionFileProviderActionIdentifier + com.nextcloud.desktopclient.FileProviderExt.FileActionsAction + NSExtensionFileProviderActionName + File actions + NSExtensionFileProviderDocumentGroup $(DEVELOPMENT_TEAM).$(OC_APPLICATION_REV_DOMAIN) diff --git a/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/Info.plist b/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/Info.plist index 2c1e9bc786538..dbb88fab631c8 100644 --- a/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/Info.plist +++ b/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/Info.plist @@ -2,11 +2,6 @@ - NSAppTransportSecurity - - NSAllowsArbitraryLoads - - CFBundleIcons CFBundlePrimaryIcon @@ -15,31 +10,32 @@ cloud - CFBundleName - $(PRODUCT_NAME) CFBundleDisplayName - $(OC_APPLICATION_NAME) File Provider UI Extension - CFBundleIdentifier - $(OC_APPLICATION_REV_DOMAIN).$(PRODUCT_NAME) + $(OC_APPLICATION_NAME) File Provider UI + NSAppTransportSecurity + + NSAllowsArbitraryLoads + + NSExtension NSExtensionFileProviderActions + NSExtensionFileProviderActionActivationRule + SUBQUERY ( fileproviderItems, $fileproviderItem, $fileproviderItem.userInfo.locked != nil && !($fileproviderItem.contentType.identifier UTI-CONFORMS-TO "public.folder") ).@count > 0 NSExtensionFileProviderActionIdentifier com.nextcloud.desktopclient.FileProviderUIExt.UnlockFileAction NSExtensionFileProviderActionName Unlock file - NSExtensionFileProviderActionActivationRule - SUBQUERY ( fileproviderItems, $fileproviderItem, $fileproviderItem.userInfo.locked != nil && !($fileproviderItem.contentType.identifier UTI-CONFORMS-TO "public.folder") ).@count > 0 NSExtensionFileProviderActionActivationRule - SUBQUERY ( fileproviderItems, $fileproviderItem, $fileproviderItem.userInfo.locked == nil && !($fileproviderItem.contentType.identifier UTI-CONFORMS-TO "public.folder") ).@count > 0 - NSExtensionFileProviderActionName - Lock file + SUBQUERY ( fileproviderItems, $fileproviderItem, $fileproviderItem.userInfo.locked == nil && !($fileproviderItem.contentType.identifier UTI-CONFORMS-TO "public.folder") ).@count > 0 NSExtensionFileProviderActionIdentifier com.nextcloud.desktopclient.FileProviderUIExt.LockFileAction + NSExtensionFileProviderActionName + Lock file NSExtensionFileProviderActionActivationRule diff --git a/shell_integration/MacOSX/NextcloudIntegration/FinderSyncExt/Info.plist b/shell_integration/MacOSX/NextcloudIntegration/FinderSyncExt/Info.plist index 84463382b10c7..15aeeaa1217eb 100644 --- a/shell_integration/MacOSX/NextcloudIntegration/FinderSyncExt/Info.plist +++ b/shell_integration/MacOSX/NextcloudIntegration/FinderSyncExt/Info.plist @@ -2,17 +2,10 @@ - NCApplicationGroupIdentifier - $(DEVELOPMENT_TEAM).$(OC_APPLICATION_REV_DOMAIN) - NSAppTransportSecurity - - NSAllowsArbitraryLoads - - CFBundleDevelopmentRegion en CFBundleDisplayName - $(OC_APPLICATION_NAME) Extensions + $(OC_APPLICATION_NAME) FinderSync CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier @@ -33,6 +26,13 @@ $(MACOSX_DEPLOYMENT_TARGET) LSUIElement + NCApplicationGroupIdentifier + $(DEVELOPMENT_TEAM).$(OC_APPLICATION_REV_DOMAIN) + NSAppTransportSecurity + + NSAllowsArbitraryLoads + + NSExtension NSExtensionAttributes