From 92585e7c19b4886cae3501091d4b9b977d49bebe Mon Sep 17 00:00:00 2001 From: "alexei.dolgolyov" Date: Wed, 8 Apr 2026 23:15:10 +0300 Subject: [PATCH] fix(build): bundle bettercam/dxcam/windows-capture in installer The Windows installer was only shipping mss as a screen-capture backend, so EngineRegistry.get_available_engines() reported just ['mss', 'camera', 'demo'] on installed builds. Picture sources configured to use bettercam/dxcam/wgc were rejected at the test/ws handshake with HTTP 403 (close-before-accept on "Engine '' not available"). Add the three Windows screen-capture wheels to WIN_DEPS so the installer build matches a 'pip install -e .' dev environment. --- build-dist-windows.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build-dist-windows.sh b/build-dist-windows.sh index 2e77d29..7d33427 100644 --- a/build-dist-windows.sh +++ b/build-dist-windows.sh @@ -213,6 +213,10 @@ WIN_DEPS=( # System tray (Pillow needed by pystray for tray icon) "pystray>=0.19.0" "Pillow>=10.4.0" + # Windows screen capture engines (mss is the only fallback without these) + "dxcam>=0.0.5" + "bettercam>=1.0.0" + "windows-capture>=1.5.0" ) # Download cross-platform deps (prefer binary, allow source for pure Python)