From 59928a6c3364c5cf4b4e883544939fc89889d410 Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Thu, 18 Apr 2024 04:54:40 +0800 Subject: [PATCH] Explicitly set bundle name and identifiers from env vars in FileProviderUIExt Signed-off-by: Claudio Cambra --- .../NextcloudIntegration/FileProviderUIExt/Info.plist | 10 ++++++++-- .../NextcloudIntegration.xcodeproj/project.pbxproj | 2 -- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/Info.plist b/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/Info.plist index f559d75c4..85f108b15 100644 --- a/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/Info.plist +++ b/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/Info.plist @@ -2,6 +2,12 @@ + CFBundleName + $(PRODUCT_NAME) + CFBundleDisplayName + $(OC_APPLICATION_NAME) File Provider UI Extension + CFBundleIdentifier + $(OC_APPLICATION_REV_DOMAIN).$(PRODUCT_NAME) NSExtension NSExtensionFileProviderActions @@ -15,10 +21,10 @@ Share options - NSExtensionPrincipalClass - $(PRODUCT_MODULE_NAME).DocumentActionViewController NSExtensionPointIdentifier com.apple.fileprovider-actionsui + NSExtensionPrincipalClass + $(PRODUCT_MODULE_NAME).DocumentActionViewController diff --git a/shell_integration/MacOSX/NextcloudIntegration/NextcloudIntegration.xcodeproj/project.pbxproj b/shell_integration/MacOSX/NextcloudIntegration/NextcloudIntegration.xcodeproj/project.pbxproj index d5bed2cee..aadb372da 100644 --- a/shell_integration/MacOSX/NextcloudIntegration/NextcloudIntegration.xcodeproj/project.pbxproj +++ b/shell_integration/MacOSX/NextcloudIntegration/NextcloudIntegration.xcodeproj/project.pbxproj @@ -1021,7 +1021,6 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GENERATE_INFOPLIST_FILE = YES; INFOPLIST_FILE = FileProviderUIExt/Info.plist; - INFOPLIST_KEY_CFBundleDisplayName = FileProviderUIExt; INFOPLIST_KEY_NSHumanReadableCopyright = ""; INFOPLIST_OUTPUT_FORMAT = "same-as-input"; INFOPLIST_PREPROCESS = NO; @@ -1082,7 +1081,6 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GENERATE_INFOPLIST_FILE = YES; INFOPLIST_FILE = FileProviderUIExt/Info.plist; - INFOPLIST_KEY_CFBundleDisplayName = FileProviderUIExt; INFOPLIST_KEY_NSHumanReadableCopyright = ""; INFOPLIST_OUTPUT_FORMAT = "same-as-input"; INFOPLIST_PREPROCESS = NO;