Merge pull request #1531 from easydiffusion/beta

Unset PYTHONHOME
This commit is contained in:
cmdr2 2023-08-29 15:05:37 +05:30 committed by GitHub
commit d4427b97ae
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
set PATH=C:\Windows\System32;%PATH%
set PYTHONHOME=
if exist "on_sd_start.bat" (
echo ================================================================================

View File

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