diff options
author | James Taylor <user234683@users.noreply.github.com> | 2020-01-30 18:17:09 -0800 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2020-01-30 18:17:09 -0800 |
commit | cf507e2cd1b9c4bc4c1c1c6a88298d076defafe5 (patch) | |
tree | 9416c8a33f819042c167500ba3c5831b9bfd2a4b /run.bat | |
parent | b2a1f4ecfb47746b274481eb2c04c904fdce64f6 (diff) | |
download | yt-local-cf507e2cd1b9c4bc4c1c1c6a88298d076defafe5.tar.lz yt-local-cf507e2cd1b9c4bc4c1c1c6a88298d076defafe5.tar.xz yt-local-cf507e2cd1b9c4bc4c1c1c6a88298d076defafe5.zip |
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)
Diffstat (limited to 'run.bat')
-rw-r--r-- | run.bat | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |