Let the macOS installer know that the application can run on Arm64
authorFelix Weilbach <felix.weilbach@nextcloud.com>
Fri, 12 Nov 2021 00:22:46 +0000 (01:22 +0100)
committerFelix Weilbach <felix.weilbach@nextcloud.com>
Fri, 12 Nov 2021 00:42:37 +0000 (01:42 +0100)
Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
admin/osx/macosx.pkgproj.cmake

index 50d33831023b17c8fa85bed4a0a673d6e53fcd3f..401326e39f6c7811d403c0de18629dd532f53271 100644 (file)
                <key>PROJECT_SETTINGS</key>
                <dict>
                        <key>ADVANCED_OPTIONS</key>
-                       <dict/>
+            <dict>
+                    <key>installer-script.options:hostArchitectures</key>
+                    <array>
+                            <string>x86_64,arm64</string>
+                    </array>
+                       </dict>
                        <key>BUILD_FORMAT</key>
                        <integer>0</integer>
                        <key>BUILD_PATH</key>