Compare commits

..

2 Commits

Author SHA1 Message Date
Gusram
2c0805fafe docs(desktop): update building instruction 2024-05-31 01:41:06 +08:00
Gusram
26b4f64824 chore(desktop): update dependencies version 2024-05-31 01:39:36 +08:00
2 changed files with 3 additions and 1 deletions

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

View File

@@ -31,6 +31,7 @@ reqwest = "0.11.22"
serde_json = "1.0.108"
url = "2.5.0"
hex_color = "3.0.0"
time = "0.3.36"
[target.'cfg(target_os = "macos")'.dependencies]
cocoa = "0.25.0"