Update install.bat

Added `cd /D "%~dp0"` in case the script is ran as admin.
This commit is contained in:
jllllll 2023-03-24 17:51:13 -05:00 committed by GitHub
parent a80a5465f2
commit 817e6c681e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,6 +24,8 @@ if /I "%gpuchoice%" == "A" (
exit
)
cd /D "%~dp0"
set MAMBA_ROOT_PREFIX=%cd%\installer_files\mamba
set INSTALL_ENV_DIR=%cd%\installer_files\env
set MICROMAMBA_DOWNLOAD_URL=https://github.com/cmdr2/stable-diffusion-ui/releases/download/v1.1/micromamba.exe