Explicitly set bundle name and identifiers from env vars in FileProviderUIExt
authorClaudio Cambra <claudio.cambra@nextcloud.com>
Wed, 17 Apr 2024 20:54:40 +0000 (04:54 +0800)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Thu, 18 Apr 2024 05:13:11 +0000 (05:13 +0000)
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/Info.plist
shell_integration/MacOSX/NextcloudIntegration/NextcloudIntegration.xcodeproj/project.pbxproj

index f559d75c46ab4e2b81ead16f90ec682074225355..85f108b15fc9600363f5398ea8ec4e7e20633211 100644 (file)
@@ -2,6 +2,12 @@
 <!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>
                                <string>Share options</string>
                        </dict>
                </array>
-               <key>NSExtensionPrincipalClass</key>
-               <string>$(PRODUCT_MODULE_NAME).DocumentActionViewController</string>
                <key>NSExtensionPointIdentifier</key>
                <string>com.apple.fileprovider-actionsui</string>
+               <key>NSExtensionPrincipalClass</key>
+               <string>$(PRODUCT_MODULE_NAME).DocumentActionViewController</string>
        </dict>
 </dict>
 </plist>
index d5bed2cee8d4394db575cfbe56134983902808df..aadb372da676acf4add5bc715828855f05a713fc 100644 (file)
                                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;
                                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;