summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBrendan Allan <[email protected]>2026-02-25 12:28:48 +0800
committerBrendan Allan <[email protected]>2026-02-25 12:28:48 +0800
commit76b60f3779b2e4d54fa4036759b7064c4649c9ca (patch)
treedb6721a7ee176b01613c35f54a822d7ad9f9ab63
parent6af7ddf03bd16b1e1d1cd7250e6b60aca87d437b (diff)
downloadopencode-76b60f3779b2e4d54fa4036759b7064c4649c9ca.tar.gz
opencode-76b60f3779b2e4d54fa4036759b7064c4649c9ca.zip
desktop: make readme more accurate
-rw-r--r--packages/desktop/README.md22
1 files changed, 11 insertions, 11 deletions
diff --git a/packages/desktop/README.md b/packages/desktop/README.md
index ebaf48822..358b7d24d 100644
--- a/packages/desktop/README.md
+++ b/packages/desktop/README.md
@@ -2,6 +2,10 @@
Native OpenCode desktop app, built with Tauri v2.
+## Prerequisites
+
+Building the desktop app requires additional Tauri dependencies (Rust toolchain, platform-specific libraries). See the [Tauri prerequisites](https://v2.tauri.app/start/prerequisites/) for setup instructions.
+
## Development
From the repo root:
@@ -11,22 +15,18 @@ bun install
bun run --cwd packages/desktop tauri dev
```
-This starts the Vite dev server on http://localhost:1420 and opens the native window.
-
-If you only want the web dev server (no native shell):
+## Build
```bash
-bun run --cwd packages/desktop dev
+bun run --cwd packages/desktop tauri build
```
-## Build
+## Troubleshooting
+
+### Rust compiler not found
-To create a production `dist/` and build the native app bundle:
+If you see errors about Rust not being found, install it via [rustup](https://rustup.rs/):
```bash
-bun run --cwd packages/desktop tauri build
+curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
```
-
-## Prerequisites
-
-Running the desktop app requires additional Tauri dependencies (Rust toolchain, platform-specific libraries). See the [Tauri prerequisites](https://v2.tauri.app/start/prerequisites/) for setup instructions.