Skip to content

Commit

Permalink
Fix the list of steps order.
Browse files Browse the repository at this point in the history
Signed-off-by: Camila Ayres <[email protected]>
  • Loading branch information
camilasan committed Oct 8, 2024
1 parent 32305e4 commit d24f3e1
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions admin/osx/mac-crafter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d24f3e1

Please sign in to comment.