diff --git a/build-dist-windows.sh b/build-dist-windows.sh index e17d39f..f7973f2 100644 --- a/build-dist-windows.sh +++ b/build-dist-windows.sh @@ -67,13 +67,17 @@ WIN_DEPS=( "pycaw>=20230407" "screen-brightness-control>=0.20.0" "monitorcontrol>=3.0.0" - "pystray>=0.19.0" ) # Visualizer dependencies VIS_DEPS=( "soundcard>=0.4.0" "numpy>=1.24.0,<2.0" + # pystray lives here (not WIN_DEPS) so its transitive Pillow resolves in the + # same pass as CORE_DEPS. Keeping it in the per-dep WIN_DEPS loop downloaded + # a second Pillow version that clobbered the core one on unzip, producing + # "_imaging extension was built for another version of Pillow" at runtime. + "pystray>=0.19.0" ) # Resolve core + visualizer deps in a SINGLE call so pip picks compatible