From 817e6c681e98b6cf48df42c37dbfebdd715a21a8 Mon Sep 17 00:00:00 2001 From: jllllll Date: Fri, 24 Mar 2023 17:51:13 -0500 Subject: [PATCH] Update install.bat Added `cd /D "%~dp0"` in case the script is ran as admin. --- install.bat | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install.bat b/install.bat index 58875ea3..b7f921d8 100644 --- a/install.bat +++ b/install.bat @@ -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