Skip to content

feat: add Windows and Linux desktop support - #29

Open
neerajdad123-byte wants to merge 1 commit into
aronprins:masterfrom
neerajdad123-byte:master
Open

feat: add Windows and Linux desktop support#29
neerajdad123-byte wants to merge 1 commit into
aronprins:masterfrom
neerajdad123-byte:master

Conversation

@neerajdad123-byte

Copy link
Copy Markdown

Summary

  • add Windows compatibility to Electron main process: skip Unix shell PATH resolution, filter SIGHUP signal, hide
    in-window menu bar on non-macOS
  • point dev-mode server spawn at the staged server bundle (npm-installed, fully hoisted) to work around pnpm strict
    module resolution at runtime
  • fix prepare-server.mjs and build-ui.mjs for Windows: use execSync instead of execFileSync for npm/pnpm/powershell
    (.cmd resolution)
  • add @embedded-postgres/win32-x64 and @embedded-postgres/linux-x64 to onlyBuiltDependencies
  • update README: Windows and Linux no longer listed as "coming soon"

Validation

  • pnpm build (TypeScript compiles)
  • pnpm test:connections (36/36 pass)
  • pnpm prepare-server (server bundle + Node v22.15.0 staged for win-x64)
  • pnpm build-ui (Paperclip UI built from upstream v2026.618.0)
  • App launch: launcher renders, local server boots, embedded PostgreSQL initializes, 103 migrations applied, UI
    loads at 127.0.0.1:3100

- Skip Unix shell PATH resolution on Windows
- Filter SIGHUP signal on non-Unix platforms
- Hide in-window menu bar on non-macOS (rebuildAppMenu guard)
- Point dev server at staged bundle to bypass pnpm strict resolution
- Fix npm/pnpm/powershell execFileSync on Windows (.cmd resolution)
- Add win32/linux embedded-postgres to onlyBuiltDependencies
- Update README: Windows/Linux no longer coming soon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant