docs(desktop): update building instruction

This commit is contained in:
Gusram
2024-05-31 01:41:06 +08:00
parent 26b4f64824
commit 2c0805fafe

View File

@@ -19,6 +19,7 @@ You can learn more about Take Over mode [here](https://github.com/johnsoncodehk/
### Prequisites
- Install Rust: `curl https://sh.rustup.rs -sSf | sh`
- If you're on Mac, remove the installation from brew first if any (brew uninstall rust && brew cleanup)
- libsoup2.4-dev installed if Linux: `sudo apt install libsoup2.4-dev`
- Node v18.20 installed and currently active if you're using nvm
@@ -30,4 +31,4 @@ You can learn more about Take Over mode [here](https://github.com/johnsoncodehk/
4. Run `pnpm dev:gql-codegen` on this folder
5. Run `pnpm tauri dev` to run debug mode (optional)
6. Run `pnpm tauri build` to build release mode
- `pnpm tauri build --target aarch64-apple-darwin` for Apple Sillicon
- `pnpm tauri build --target universal-apple-darwin` for Mac