Skip to content
This repository was archived by the owner on Jan 2, 2025. It is now read-only.

Commit

Permalink
fixup! docs(build): add some tips for building on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
burdiyan committed Mar 7, 2024
1 parent 745ff8a commit 489657e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/build-system.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ To build the desktop app:
1. Create a directory `plz-out/bin/backend` which is where Electron build system expects the `mintterd` binary to be.
2. Build `mintterd` with `go build -o plz-out/bin/backend/mintterd-<llvm-platform-triple> ./backend/cmd/mintterd`.
- Make sure `CGO_ENABLED=1` env variable is set.
- The `llvm-platform-triple` depends on the platform you're on. See the values we use in CI here: https://github.com/MintterHypermedia/mintter/blob/d7582fed90840eae953a191b779ef5285b9c21b1/.github/workflows/desktop-release.yml#L63.
- The `llvm-platform-triple` depends on the platform you're on. See the values we use in CI here: https://github.com/MintterHypermedia/mintter/blob/d7582fed90840eae953a191b779ef5285b9c21b1/.github/workflows/desktop-release.yml#L63-L79.
- On Windows add `.exe` to the output path.
3. Run `yarn install`.
4. Run `yarn desktop` to start the Electron's dev workflow.

0 comments on commit 489657e

Please sign in to comment.