mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-08-14 02:05:21 +02:00
Simplified script for linux v2
This commit is contained in:
@ -1,6 +1,4 @@
|
||||
echo "\nStable Diffusion UI\n"
|
||||
|
||||
cd ..
|
||||
printf "\n\nStable Diffusion UI\n\n"
|
||||
|
||||
if [ `grep -c sd_ui_git_cloned scripts/install_status.txt` -gt "0" ]; then
|
||||
echo "Stable Diffusion UI's git repository was already installed. Updating.."
|
||||
@ -12,12 +10,12 @@ if [ `grep -c sd_ui_git_cloned scripts/install_status.txt` -gt "0" ]; then
|
||||
|
||||
cd ..
|
||||
else
|
||||
echo "\nDownloading Stable Diffusion UI..\n"
|
||||
printf "\n\nDownloading Stable Diffusion UI..\n\n"
|
||||
|
||||
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
|
||||
echo "\nError downloading Stable Diffusion UI. Please try re-running this installer. If it doesn't work, please copy the messages in this window, and ask the community at https://discord.com/invite/u9yhsFmEkB or file an issue at https://github.com/cmdr2/stable-diffusion-ui/issues\n"
|
||||
printf "\n\nError downloading Stable Diffusion UI. Please try re-running this installer. If it doesn't work, please copy the messages in this window, and ask the community at https://discord.com/invite/u9yhsFmEkB or file an issue at https://github.com/cmdr2/stable-diffusion-ui/issues\n\n"
|
||||
read -p "Press any key to continue"
|
||||
exit
|
||||
fi
|
||||
@ -25,5 +23,6 @@ fi
|
||||
|
||||
cp -Rf sd-ui-files/ui ui
|
||||
cp -Rf sd-ui-files/scripts/* scripts/
|
||||
cp "scripts/Start Stable Diffusion UI.sh" .
|
||||
|
||||
./scripts/on_sd_start.sh
|
||||
|
Reference in New Issue
Block a user