Skip to content

v1.0.1

Choose a tag to compare

@kstmostofa kstmostofa released this 04 Jul 20:01
· 4 commits to main since this release

Fixes

  • Sidecar commands now work on Windows. The binary check ran which (a Unix-only command), so it always failed with "Node.js not found on PATH" even when Node was installed. Replaced with Symfony ExecutableFinder, and swapped rm -rf, $_SERVER['HOME'], nohup, and posix_kill for cross-platform equivalents (proc_open with a new console, taskkill/tasklist, USERPROFILE, and a pure-PHP recursive delete).
  • whatsapp:sidecar:start no longer fails on Windows with "Failed to spawn sidecar process (no PID written)". The PID file is now seeded from proc_open's PID so the start poll succeeds while Node is still loading whatsapp-web.js.

Feature

  • WHATSAPP_WEB_CHROME_PATH (falls back to PUPPETEER_EXECUTABLE_PATH) lets Puppeteer reuse a system Chrome/Chromium. This makes whatsapp:sidecar:install --skip-chromium actually usable — the escape hatch it already advertised was never wired through before.

Full changelog: v1.0.0...v1.0.1