From d7770d45a746a63880c38445e506998051ab3823 Mon Sep 17 00:00:00 2001 From: doyle Date: Fri, 13 Nov 2020 10:54:59 +1100 Subject: [PATCH] Set pythonhome to avoid crashing --- win32_install.bat | 1 + 1 file changed, 1 insertion(+) diff --git a/win32_install.bat b/win32_install.bat index aa35d34..76cbb85 100644 --- a/win32_install.bat +++ b/win32_install.bat @@ -108,6 +108,7 @@ set cmder_config_file=%cmder_root%\config\user_profile.cmd echo - Generate cmder config at %cmder_config_file% echo @echo off> %cmder_config_file% echo set PATH=%zig_path%;%python_path%\python-3.9.0.amd64;%%PATH%%>> "%cmder_config_file%" +echo set PYTHONHOME=%python_path%\python-3.9.0.amd64>> "%cmder_config_file%" echo set HOME=%cmder_root%\..\Home>> "%cmder_config_file%" echo set HOMEPATH=%cmder_root%\..\Home>> "%cmder_config_file%" echo set USERPROFILE=%cmder_root%\..\Home>> "%cmder_config_file%"