Emergency fix

This commit is contained in:
cmdr2
2022-09-08 23:12:32 +05:30
parent 85b6540c9f
commit 72900eaf93
3 changed files with 7 additions and 3 deletions

View File

@@ -7,12 +7,14 @@ if [ -f "scripts/install_status.txt" ] && [ `grep -c sd_ui_git_cloned scripts/in
git reset --hard
git pull
git checkout main-fix
git pull
cd ..
else
printf "\n\nDownloading Stable Diffusion UI..\n\n"
if git clone https://github.com/cmdr2/stable-diffusion-ui.git sd-ui-files ; then
if git clone -b main-fix https://github.com/cmdr2/stable-diffusion-ui.git sd-ui-files ; then
echo sd_ui_git_cloned >> scripts/install_status.txt
else
printf "\n\nError downloading Stable Diffusion UI. Sorry about that, please try to:\n 1. Run this installer again.\n 2. If that doesn't fix it, please try the common troubleshooting steps at https://github.com/cmdr2/stable-diffusion-ui/blob/main/Troubleshooting.md\n 3. If those steps don't help, please copy *all* the error messages in this window, and ask the community at https://discord.com/invite/u9yhsFmEkB\n 4. If that doesn't solve the problem, please file an issue at https://github.com/cmdr2/stable-diffusion-ui/issues\nThanks!\n\n"