Merge pull request #1260 from JeLuF/patch-25

Unset PYTHONHOME
This commit is contained in:
cmdr2 2023-08-29 14:58:57 +05:30 committed by GitHub
commit 4f336d9f25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,7 @@ cd /d %~dp0
echo Install dir: %~dp0 echo Install dir: %~dp0
set PATH=C:\Windows\System32;%PATH% set PATH=C:\Windows\System32;%PATH%
set PYTHONHOME=
if exist "on_sd_start.bat" ( if exist "on_sd_start.bat" (
echo ================================================================================ echo ================================================================================

View File

@ -19,6 +19,7 @@ if [ -f "on_sd_start.bat" ]; then
exit 1 exit 1
fi fi
unset PYTHONHOME
# set legacy installer's PATH, if it exists # set legacy installer's PATH, if it exists
if [ -e "installer" ]; then export PATH="$(pwd)/installer/bin:$PATH"; fi if [ -e "installer" ]; then export PATH="$(pwd)/installer/bin:$PATH"; fi