mirror of
https://github.com/nextcloud/desktop.git
synced 2024-12-18 03:41:50 +03:00
Fix the list of steps order.
Signed-off-by: Camila Ayres <hello@camilasan.com>
This commit is contained in:
parent
32305e4c15
commit
d24f3e1220
1 changed files with 9 additions and 8 deletions
|
@ -23,36 +23,37 @@ cd admin/osx/mac-crafter
|
|||
swift run mac-crafter
|
||||
```
|
||||
|
||||
3.1 Sign the application bundle by adding the following parameter:
|
||||
3. Sign the application bundle by adding the following parameter:
|
||||
`-c <Development or developer codesigning certificate name>`
|
||||
The whole command will look like this:
|
||||
```
|
||||
swift run mac-crafter -c "Apple Development: <certificate common name>"
|
||||
```
|
||||
|
||||
The resulting app bundle will be placed under the `product` folder in the mac-crafter folder.
|
||||
> [!NOTE]
|
||||
> 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).
|
||||
|
||||
3.2 Build the file provider module with this option:
|
||||
### Extra options
|
||||
|
||||
- Build the file provider module with this option:
|
||||
```
|
||||
--build-file-provider-module
|
||||
```
|
||||
|
||||
3.3 Disable the auto-updater:
|
||||
- Disable the auto-updater:
|
||||
```
|
||||
--disable-autoupdater
|
||||
```
|
||||
|
||||
3.4 Manually set the architecture you are building for:
|
||||
- Manually set the architecture you are building for:
|
||||
|
||||
```
|
||||
--arch arm64
|
||||
--arch <arm64|x86_64>
|
||||
```
|
||||
|
||||
The options are `x86_64` and `arm64`.
|
||||
|
||||
### How to build the app bundle for arm and intel
|
||||
|
||||
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:
|
||||
|
|
Loading…
Reference in a new issue