Skip to content

Commit 617a795

Browse files
committed
build(deps): install Linux native binaries for the WSL backend
The WSL parallel-backend runs a Linux node against the same node_modules the Windows desktop uses (via /mnt/c). Platform-gated optional native deps -- e.g. @yuuang/ffi-rs-linux-x64-gnu (pulled in transitively) -- are only fetched for the install host's platform, so a Windows pnpm install omitted the Linux binaries and the WSL backend crash-looped on "Cannot find module '@yuuang/ffi-rs-linux-x64-gnu'". Add supportedArchitectures (current + linux, x64, glibc) so one install fetches both platforms' native binaries: electron.exe stays for the Windows desktop while the Linux variants become available to the WSL backend. This makes every install pull both platforms' optional natives, which is required for the WSL backend to start.
1 parent 5fa6d6c commit 617a795

2 files changed

Lines changed: 113 additions & 0 deletions

File tree

0 commit comments

Comments
 (0)