From bca6fc3f0884fcdb0455b502ee4495b04945baee Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Fri, 11 Sep 2026 14:17:50 +0200 Subject: feat(packaging): a Light installer target with no bundled node runtime MeshBay Light ships the Electron client + UI only -- no PyInstaller node freeze, no ffmpeg, no service install/autostart. Two standalone electron-builder configs (Full via package.json's build field, Light via electron-builder.light.yml passed with --config, which reads only that file -- confirmed against app-builder-lib's own config loader) rather than one config branching on a flag. build-win-common.ps1 holds the steps both orchestrators share (Node check, npm ci, Electron bump, sync-ui) so build-win.ps1 (Full) and the new build-win-light.ps1 cannot drift apart; build-win.ps1 is refactored to dot-source it with no behavior change (rebuilt and diffed byte-identical output). installer-light.nsh keeps the one thing Light still needs -- an unconditional firewall rule, since the client listens too -- and none of the service-mode/autostart machinery installer.nsh carries, which has nothing to gate without a bundled node. dist-light/ (Light's own electron-builder output dir) gets its own .gitignore line since the bare dist/ rule does not match it. Co-Authored-By: Claude Sonnet 5 --- .gitignore | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 90d2536..e1cbdf2 100644 --- a/.gitignore +++ b/.gitignore @@ -63,6 +63,10 @@ packages/meshbay-client/node_modules/ # packaging/win/build-node-runtime.ps1 and carried into the installer as an # electron-builder extraResource. Build artifact, never committed. packages/meshbay-client/node-runtime/ +# build-win-light.ps1's own output dir (electron-builder.light.yml +# directories.output) -- the bare `dist/` rule above does not match this +# different name, so it needs its own line. +packages/meshbay-client/dist-light/ # electron-builder's buildResources dir — a real source (app icon), not a # build artifact, despite living under a path the generic `build/` rule above -- cgit v1.2.3