summaryrefslogtreecommitdiffhomepage
path: root/packages
diff options
context:
space:
mode:
authorAiden Cline <[email protected]>2026-01-06 13:07:20 -0600
committerAiden Cline <[email protected]>2026-01-06 13:07:20 -0600
commit494e03490e50852c7f67f1a61aa4b44f30eebb00 (patch)
tree20dc80917a5517e9e5e78c6117631b541a54b110 /packages
parent675eba65886004eb90ef163f5bc33b5832427603 (diff)
downloadopencode-494e03490e50852c7f67f1a61aa4b44f30eebb00.tar.gz
opencode-494e03490e50852c7f67f1a61aa4b44f30eebb00.zip
docs: fix desktop stuff
Diffstat (limited to 'packages')
-rw-r--r--packages/desktop/README.md33
1 files changed, 29 insertions, 4 deletions
diff --git a/packages/desktop/README.md b/packages/desktop/README.md
index 7567e65f5..ebaf48822 100644
--- a/packages/desktop/README.md
+++ b/packages/desktop/README.md
@@ -1,7 +1,32 @@
-# Tauri + Vanilla TS
+# OpenCode Desktop
-This template should help get you started developing with Tauri in vanilla HTML, CSS and TypeScript.
+Native OpenCode desktop app, built with Tauri v2.
-## Recommended IDE Setup
+## Development
-- [VS Code](https://code.visualstudio.com/) + [Tauri](https://marketplace.visualstudio.com/items?itemName=tauri-apps.tauri-vscode) + [rust-analyzer](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer)
+From the repo root:
+
+```bash
+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):
+
+```bash
+bun run --cwd packages/desktop dev
+```
+
+## Build
+
+To create a production `dist/` and build the native app bundle:
+
+```bash
+bun run --cwd packages/desktop tauri build
+```
+
+## 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.