aboutsummaryrefslogtreecommitdiffstats
path: root/poc
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-09-04 10:47:21 +0200
committerChristophe Besson <cbesson@gmail.com>2026-09-04 10:47:21 +0200
commit3edb0357b7841f1cd9314fd1917bb866a0cba11b (patch)
tree5dc0dc54737d17b3e6fd4a2c91cd3f63dc4fa805 /poc
parent3ce52774760b222d94d78bc0118e9da2662a809f (diff)
downloadmeshbay-3edb0357b7841f1cd9314fd1917bb866a0cba11b.tar.gz
feat(packaging): put the bundled meshbay-node on the per-user PATH
The installer had no console entry point, so running the CLI meant cd-ing into resources\node-runtime\ every time. installer.nsh now adds that dir to HKCU\Environment\Path on install and removes it on uninstall, via stock WordFunc.nsh (electron-builder's NSIS bundle has no EnVar plugin). It points at the real meshbay-node.exe dir — not a shim — so `where meshbay-node`, findNodeBinary and the W3 autostart launcher all resolve to the same binary. A WM_SETTINGCHANGE broadcast nudges open shells; new ones just work. Rebuilt: electron-builder --win nsis compiles the WordFunc includes fine, MeshBay-Setup-0.1.0.exe (155 MB). test_packaging_win.py covers the add/remove symmetry. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Diffstat (limited to 'poc')
0 files changed, 0 insertions, 0 deletions