|
|
7 mēneši atpakaļ | |
|---|---|---|
| .. | ||
| scripts | f05f175842 feat(desktop): spawn local server with password (#8139) | 7 mēneši atpakaļ |
| src | f05f175842 feat(desktop): spawn local server with password (#8139) | 7 mēneši atpakaļ |
| src-tauri | ddd9c71cca feat(desktop): Tie desktop & CLI to the same Windows JobObject (#8153) | 7 mēneši atpakaļ |
| .gitignore | 81c3c63895 chore: rename packages/tauri -> packages/desktop | 7 mēneši atpakaļ |
| README.md | 494e03490e docs: fix desktop stuff | 7 mēneši atpakaļ |
| index.html | 0f2124db32 fix(app): no inline js | 7 mēneši atpakaļ |
| package.json | afb8a0d28a release: v1.1.16 | 7 mēneši atpakaļ |
| sst-env.d.ts | 81c3c63895 chore: rename packages/tauri -> packages/desktop | 7 mēneši atpakaļ |
| tsconfig.json | 76ac1ccb6b chore: show version on error page | 7 mēneši atpakaļ |
| vite.config.ts | 0f2124db32 fix(app): no inline js | 7 mēneši atpakaļ |
Native OpenCode desktop app, built with Tauri v2.
From the repo root:
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):
bun run --cwd packages/desktop dev
To create a production dist/ and build the native app bundle:
bun run --cwd packages/desktop tauri build
Running the desktop app requires additional Tauri dependencies (Rust toolchain, platform-specific libraries). See the Tauri prerequisites for setup instructions.