From cf507e2cd1b9c4bc4c1c1c6a88298d076defafe5 Mon Sep 17 00:00:00 2001 From: James Taylor Date: Thu, 30 Jan 2020 18:17:09 -0800 Subject: Add full visual c runtime to fix missing dll errors on fresh windows installs On fresh installs, when no programs have been installed which install visual c runtime as a dependency, the dlls are not present and brotli fails to load. Bundle them in releases and make sure brotli sees them by adding their location to the path (in run.bat) --- run.bat | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'run.bat') diff --git a/run.bat b/run.bat index 1a5d479..a8f6032 100644 --- a/run.bat +++ b/run.bat @@ -1,4 +1,9 @@ @echo off + +REM This is so brotli and gevent search in the python directory for the +REM visual studio c++ runtime dlls +set PATH=.\python;%PATH% + .\python\python.exe -I .\server.py echo Press any key to quit... PAUSE > nul -- cgit v1.2.3