From aaa6dad3a590c9c546519f83e80bccd5cc67208d Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Tue, 8 Oct 2024 10:41:33 +0800 Subject: [PATCH] Match the universal build instructions with what we actually do with mac-crafter and make_universal Signed-off-by: Claudio Cambra --- admin/osx/mac-crafter/README.md | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/admin/osx/mac-crafter/README.md b/admin/osx/mac-crafter/README.md index ee53475f6..4c4ba7d8a 100644 --- a/admin/osx/mac-crafter/README.md +++ b/admin/osx/mac-crafter/README.md @@ -55,23 +55,8 @@ The options are `x86_64` and `arm64`. ### How to build the app bundle for arm and intel -To achieve this we are using [KDE Craft](https://community.kde.org/Craft). - -1. After running the steps above, you will be able to use the `CraftMaster.py` script for that: - -``` -python build/craftmaster/CraftMaster.py --config /craftmaster.ini --target macos-clang-arm64 -c --add-blueprint-repository https://github.com/nextcloud/desktop-client-blueprints/ -``` - -The `--target` options are define in the [`craftmaster.ini` file](https://github.com/nextcloud/desktop/blob/c771c4166c806d686d9b4f8b11e33d8d95631398/craftmaster.ini). - -2. Install the client dependencies -``` -python build/craftmaster/CraftMaster.py --config /craftmaster.ini --target macos-clang-arm64 -c --install-deps nextcloud-client -``` - -3. Build the client +To achieve this we are using a Python script called `make_universal.py` which bundles together the arm64 and Intel builds into one universal app bundle. This script can be found under `admin/osx`. You can invoke it like so: ``` -python build/craftmaster/CraftMaster.py --config /craftmaster.ini --target macos-clang-arm64 -c --src-dir nextcloud-client +python admin/osx/make_universal.py ``` -- 2.30.2