Skip to content

Commit

Permalink
feat: clean when not retry
Browse files Browse the repository at this point in the history
  • Loading branch information
wy-luke committed Aug 25, 2023
1 parent 2c7d557 commit 6962f3f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sd-installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ function handle_error {
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/wy-luke/StableDiffusion-Installer-For-Mac/main/sd-installer.sh)"
else
# Exit the script
echo "############ Clean ###################################"
rm $root_path/install_brew.sh
exit 1
fi
}
Expand Down

0 comments on commit 6962f3f

Please sign in to comment.