diff --git a/README.md b/README.md index 2149dcc5..681c7a2c 100644 --- a/README.md +++ b/README.md @@ -119,7 +119,7 @@ sudo pacman -S wget git python3 ``` 2. To install in `/home/$(whoami)/stable-diffusion-webui/`, run: ```bash -bash <(wget -qO- https://raw.githubusercontent.com/AUTOMATIC1111/stable-diffusion-webui/master/webui.sh) +bash <(wget -qO- https://raw.githubusercontent.com/AUTOMATIC1111/stable-diffusion-webui/master/webui.bash) ``` ### Installation on Apple Silicon diff --git a/webui-macos-env.sh b/webui-macos-env.bash similarity index 80% rename from webui-macos-env.sh rename to webui-macos-env.bash index 37cac4fb..3b8f9d7c 100644 --- a/webui-macos-env.sh +++ b/webui-macos-env.bash @@ -1,8 +1,8 @@ #!/bin/bash -#################################################################### -# macOS defaults # -# Please modify webui-user.sh to change these instead of this file # -#################################################################### +###################################################################### +# macOS defaults # +# Please modify webui-user.bash to change these instead of this file # +###################################################################### if [[ -x "$(command -v python3.10)" ]] then @@ -16,4 +16,4 @@ export K_DIFFUSION_REPO="https://github.com/brkirch/k-diffusion.git" export K_DIFFUSION_COMMIT_HASH="51c9778f269cedb55a4d88c79c0246d35bdadb71" export PYTORCH_ENABLE_MPS_FALLBACK=1 -#################################################################### +###################################################################### diff --git a/webui-user.sh b/webui-user.bash similarity index 100% rename from webui-user.sh rename to webui-user.bash diff --git a/webui.sh b/webui.bash similarity index 90% rename from webui.sh rename to webui.bash index 8cdad22d..b633f5dc 100755 --- a/webui.sh +++ b/webui.bash @@ -1,22 +1,22 @@ #!/usr/bin/env bash -################################################# -# Please do not make any changes to this file, # -# change the variables in webui-user.sh instead # -################################################# +################################################### +# Please do not make any changes to this file, # +# change the variables in webui-user.bash instead # +################################################### -# If run from macOS, load defaults from webui-macos-env.sh +# If run from macOS, load defaults from webui-macos-env.bash if [[ "$OSTYPE" == "darwin"* ]]; then - if [[ -f webui-macos-env.sh ]] + if [[ -f webui-macos-env.bash ]] then - source ./webui-macos-env.sh + source ./webui-macos-env.bash fi fi -# Read variables from webui-user.sh +# Read variables from webui-user.bash # shellcheck source=/dev/null -if [[ -f webui-user.sh ]] +if [[ -f webui-user.bash ]] then - source ./webui-user.sh + source ./webui-user.bash fi # Set defaults @@ -58,7 +58,7 @@ fi # this script cannot be run as root by default can_run_as_root=0 -# read any command line flags to the webui.sh script +# read any command line flags to the webui.bash script while getopts "f" flag > /dev/null 2>&1 do case ${flag} in