mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-22 08:13:22 +01:00
d3a90ccc0d
- cd to the script location on start of 'Start Stable Diffusion UI.cmd' - Bail out when downloading micromamba fails - add env variables SD_UI_BIND_IP and SD_UI_BIND_PORT to configure uvicorn
26 lines
744 B
Batchfile
26 lines
744 B
Batchfile
@echo off
|
|
|
|
cd /d %~dp0
|
|
set PATH=C:\Windows\System32;%PATH%
|
|
|
|
@rem set legacy installer's PATH, if it exists
|
|
if exist "installer" set PATH=%cd%\installer;%cd%\installer\Library\bin;%cd%\installer\Scripts;%cd%\installer\Library\usr\bin;%PATH%
|
|
|
|
@rem Setup the packages required for the installer
|
|
call scripts\bootstrap.bat
|
|
|
|
@rem set new installer's PATH, if it downloaded any packages
|
|
if exist "installer_files\env" set PATH=%cd%\installer_files\env;%cd%\installer_files\env\Library\bin;%cd%\installer_files\env\Scripts;%cd%\installer_files\Library\usr\bin;%PATH%
|
|
|
|
@rem Test the bootstrap
|
|
call where git
|
|
call git --version
|
|
|
|
call where conda
|
|
call conda --version
|
|
|
|
@rem Download the rest of the installer and UI
|
|
call scripts\on_env_start.bat
|
|
|
|
@pause
|