From: Claudio Cambra Date: Tue, 8 Oct 2024 02:40:30 +0000 (+0800) Subject: Simplify build instructions in mac-crafter README X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~5^2~136^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7b533529696abd55c962e65e1d2d638d9aec9208;p=nextcloud-desktop.git Simplify build instructions in mac-crafter README Signed-off-by: Claudio Cambra --- 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).