Include C:\Windows\System32 in the path anyway, to avoid the errors some users have

This commit is contained in:
cmdr2 2022-09-24 13:23:04 +05:30
parent 906d90c304
commit 858a1c7ae0
2 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,8 @@
@echo. & echo "Stable Diffusion UI - v2" & echo. @echo. & echo "Stable Diffusion UI - v2" & echo.
set PATH=C:\Windows\System32;%PATH%
@cd .. @cd ..
if exist "scripts\config.bat" ( if exist "scripts\config.bat" (

View File

@ -79,6 +79,8 @@
@echo conda_sd_env_created >> ..\scripts\install_status.txt @echo conda_sd_env_created >> ..\scripts\install_status.txt
) )
set PATH=C:\Windows\System32;%PATH%
@>nul grep -c "conda_sd_gfpgan_deps_installed" ..\scripts\install_status.txt @>nul grep -c "conda_sd_gfpgan_deps_installed" ..\scripts\install_status.txt
@if "%ERRORLEVEL%" EQU "0" ( @if "%ERRORLEVEL%" EQU "0" (
@echo "Packages necessary for GFPGAN (Face Correction) were already installed" @echo "Packages necessary for GFPGAN (Face Correction) were already installed"