diff --git a/scripts/on_env_start.bat b/scripts/on_env_start.bat index 71265ca4..76fdb712 100644 --- a/scripts/on_env_start.bat +++ b/scripts/on_env_start.bat @@ -26,14 +26,12 @@ @call git reset --hard @call git pull - @call git checkout main-fix - @call git pull @cd .. ) else ( @echo. & echo "Downloading Stable Diffusion UI.." & echo. - @call git clone -b main-fix https://github.com/cmdr2/stable-diffusion-ui.git sd-ui-files && ( + @call git clone https://github.com/cmdr2/stable-diffusion-ui.git sd-ui-files && ( @echo sd_ui_git_cloned >> scripts\install_status.txt ) || ( @echo "Error downloading Stable Diffusion UI. Sorry about that, please try to:" & echo " 1. Run this installer again." & echo " 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" & echo " 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" & echo " 4. If that doesn't solve the problem, please file an issue at https://github.com/cmdr2/stable-diffusion-ui/issues" & echo "Thanks!" diff --git a/scripts/on_env_start.sh b/scripts/on_env_start.sh index 356ca1ce..145abd3a 100755 --- a/scripts/on_env_start.sh +++ b/scripts/on_env_start.sh @@ -7,14 +7,12 @@ 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 -b main-fix https://github.com/cmdr2/stable-diffusion-ui.git sd-ui-files ; then + if git clone 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" diff --git a/scripts/on_sd_start.sh b/scripts/on_sd_start.sh index 200d7f20..c48811fd 100755 --- a/scripts/on_sd_start.sh +++ b/scripts/on_sd_start.sh @@ -1,4 +1,4 @@ -cp sd-ui-files/scripts/on_env_start.sh scripts/ +# cp sd-ui-files/scripts/on_env_start.sh scripts/ source installer/etc/profile.d/conda.sh