Skip to content

Commit cf5f670

Browse files
docs(agents): WSL desktop builds target the Windows Electron app (#599)
On WSL machines "the desktop app" means the Windows app: build via npm run electron:build:win + the NSIS installer, never a Linux AppImage/deb under WSLg. WSL cannot compile node-pty for win32, so drive the build from WSL by rsyncing to a Windows-local dir and running Windows npm via cmd.exe. Generated with Amplifier Co-authored-by: Amplifier <[email protected]>
1 parent e227a6c commit cf5f670

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ npm run serve # Build and run production server
117117
# `npm run check` for safe verification, or build from a worktree.
118118
```
119119

120-
Windows desktop builds (`npm run electron:build:win`) must run on native Windows — see [docs/development/windows-electron-build.md](docs/development/windows-electron-build.md).
120+
**On WSL machines, "the desktop app" means the Windows app.** Always build, install, and launch the Windows Electron app (`npm run electron:build:win` + the NSIS installer) — never a Linux AppImage/deb under WSLg. The Windows build must run as a native Windows process (WSL cannot compile `node-pty` for win32); drive it from WSL by rsyncing to a Windows-local dir and running Windows npm via `cmd.exe` — see [docs/development/windows-electron-build.md](docs/development/windows-electron-build.md).
121121

122122
### Testing
123123
```bash

0 commit comments

Comments
 (0)