mirror of
https://github.com/daijro/camoufox.git
synced 2026-08-26 08:00:18 +00:00
c4716d2ec1
package-windows pulls VCRUNTIME140/VCRUNTIME140_1/MSVCP140 out of the mozbuild Visual Studio tree through a shell glob that pins one redist version (14.38.33135) and one toolset (VC143). Windows builds cross-compile on Linux and get their toolchain from mozbootstrap, so a different version there leaves the glob unexpanded -- and add_includes_to_package() skipped anything that did not exist, with no warning. The package then ships without the CRT. camoufox.exe imports those DLLs, so on any machine without the Visual C++ Redistributable installed the process dies immediately and Playwright surfaces only "spawn UNKNOWN". - glob the redist and toolset versions instead of pinning them - treat a missing --includes entry as fatal, so an unexpanded glob fails the build instead of silently shipping a broken package