From c6f1c876b9de2b417daf6ceeeb2f9a741844d423 Mon Sep 17 00:00:00 2001 From: Goury Date: Wed, 1 Feb 2023 01:56:47 +0200 Subject: [PATCH 1/6] Rename webui.sh to webui.bash Fix issue #6721 --- webui.sh => webui.bash | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename webui.sh => webui.bash (100%) diff --git a/webui.sh b/webui.bash similarity index 100% rename from webui.sh rename to webui.bash From 31658432b9452473a339bb7a2892e3bb5da1a0f9 Mon Sep 17 00:00:00 2001 From: Goury Date: Wed, 1 Feb 2023 01:59:38 +0200 Subject: [PATCH 2/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 9bf4df8aa121ba71d12212cb42997e5373a2044d Mon Sep 17 00:00:00 2001 From: Goury Date: Wed, 1 Feb 2023 02:02:32 +0200 Subject: [PATCH 3/6] Update webui.bash MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit .sh → .bash --- webui.bash | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/webui.bash b/webui.bash index 8cdad22d..dcfb17d8 100755 --- a/webui.bash +++ 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 # +# 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 From c2c59b89a1bfe0e25ce911de6c3120d633c64d5e Mon Sep 17 00:00:00 2001 From: Goury Date: Wed, 1 Feb 2023 02:03:02 +0200 Subject: [PATCH 4/6] Rename webui-user.sh to webui-user.bash --- webui-user.sh => webui-user.bash | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename webui-user.sh => webui-user.bash (100%) diff --git a/webui-user.sh b/webui-user.bash similarity index 100% rename from webui-user.sh rename to webui-user.bash From 55676c59792e72b2d22ce0144e328308d45a0c17 Mon Sep 17 00:00:00 2001 From: Goury Date: Wed, 1 Feb 2023 02:04:20 +0200 Subject: [PATCH 5/6] Update and rename webui-macos-env.sh to webui-macos-env.bash MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit .sh → .bash --- webui-macos-env.sh => webui-macos-env.bash | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) rename webui-macos-env.sh => webui-macos-env.bash (80%) 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 -#################################################################### +###################################################################### From df8b5d3b75f7331177741f2f91dcdf5831ffdb92 Mon Sep 17 00:00:00 2001 From: Goury Date: Wed, 1 Feb 2023 02:20:30 +0200 Subject: [PATCH 6/6] Update webui.bash --- webui.bash | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webui.bash b/webui.bash index dcfb17d8..b633f5dc 100755 --- a/webui.bash +++ b/webui.bash @@ -1,8 +1,8 @@ #!/usr/bin/env bash -################################################# -# Please do not make any changes to this file, # +################################################### +# 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.bash if [[ "$OSTYPE" == "darwin"* ]]; then