docs: add Windows launcher note (#1546)

This commit is contained in:
Prantik Medhi 2026-05-13 14:16:42 +05:30 committed by GitHub
parent 9040088f1c
commit cd30ec6fef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 14 additions and 0 deletions

View file

@ -374,6 +374,8 @@ pnpm tools-dev run web
Environment requirements: Node `~24` and pnpm `10.33.x`. `nvm`/`fnm` are optional helpers only; if you use one, run `nvm install 24 && nvm use 24` or `fnm install 24 && fnm use 24` before `pnpm install`.
Windows users can follow [`docs/windows-troubleshooting.md`](docs/windows-troubleshooting.md) for the native setup path and a tiny double-click launcher.
For desktop/background startup, fixed-port restarts, and media generation dispatcher checks (`OD_BIN`, `OD_DAEMON_URL`, `apps/daemon/dist/cli.js`), see [`QUICKSTART.md`](QUICKSTART.md).
The first load:

View file

@ -203,6 +203,18 @@ python --version # or py --version
Get-ExecutionPolicy -List
```
## 7. Optional: quick launcher
If you want a double-click entry point on Windows, create a `launch.bat` file in the repo root with:
```bat
@echo off
cd /d %~dp0
corepack pnpm tools-dev run web
```
That keeps the launcher on the supported `pnpm tools-dev run web` path while still giving you a one-click start.
---
## Optional: OpenCode agent CLI on Windows