Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated documentation for the company-id gui #122

Merged
merged 2 commits into from
Dec 6, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion company-id-gui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,29 @@ cargo tauri build

To build a signed version for windows the `src-tauri/tauri.conf.json` has to be updated with the correct thumbprint following the last part of the procedure outline in the [documentation](https://tauri.app/v1/guides/distribution/sign-windows#c-prepare-variables).

Or, to run:
To build a signed version for MacOS, you have to add some environment variables to the build command:
EmilKWarmdahl marked this conversation as resolved.
Show resolved Hide resolved
* `APPLE_ID` - The apple id used for signing
* `APPLE_PASSWORD` - The password for the apple ID
* `APPLE_TEAM_ID` - ID of concordiums Apple developer team
* `APPLE_SIGNING_IDENTITY` - The Identity of the signing creificate
* `APPLE_CERTIFICATE` - base64 encoding of an .p12 exported version of the signing certificate
* `APPLE_CERTIFICATE_PASSWORD` - The password to the exported version of the signing certificate

Start by running:
```bash
security find-identity -v -p codesigning
```
to find the `APPLE_SIGNING_ID` and the `APPLE_TEAM_ID` in the format:
```bash
1) <APPLE_SIGNING_ID> "Developer ID Application: Concordium Software Aps (<APPLE_TEAM_ID>)"
```
Download the .p12 certificate from bitwarden and run the following command to base64 encode it:
```bash
openssl -in /path/to/.p12-certificate -out base64-certificate.txt
```
A more detailed guide can be found in [the tauri documentation](https://tauri.app/v1/guides/distribution/sign-macos).

To run:

```bash
cargo tauri dev
Expand Down
Loading