From 7b533529696abd55c962e65e1d2d638d9aec9208 Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Tue, 8 Oct 2024 10:40:30 +0800 Subject: [PATCH] Simplify build instructions in mac-crafter README Signed-off-by: Claudio Cambra --- admin/osx/mac-crafter/README.md | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/admin/osx/mac-crafter/README.md b/admin/osx/mac-crafter/README.md index 572d5e519..4875b7dde 100644 --- a/admin/osx/mac-crafter/README.md +++ b/admin/osx/mac-crafter/README.md @@ -17,23 +17,21 @@ It will create the application bundle with the option to sign it, which is requi https://github.com/nextcloud/desktop.git ``` -2. Create the build folder +2. Build the desktop client: ``` -mkdir -``` - -3. Build the desktop client: -``` -swift run --build-path --package-path /admin/osx/mac-crafter mac-crafter +cd admin/osx/mac-crafter +swift run mac-crafter ``` 3.1 Sign the application bundle by adding the following parameter: -`-c "Apple Development: "` +`-c ` The whole command will look like this: ``` -swift run --build-path --package-path /admin/osx/mac-crafter mac-crafter -c "Apple Development: " +swift run mac-crafter -c "Apple Development: " ``` +The resulting app bundle will be placed under the `product` folder in the mac-crafter folder. + > [!TIP] > Check [Apple's oficial documentation about code signing](https://developer.apple.com/documentation/xcode/using-the-latest-code-signature-format). -- 2.30.2