diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7d440ef..5bc1b62 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,9 +16,7 @@ jobs: sparse-checkout-cone-mode: false - name: Yes run: | - grep --version - brew install grep - bash sd-installer.sh -1 | grep -q 'Launching Web UI with arguments' && echo "成功 Success" && exit 0 + bash sd-installer.sh -1 shell: bash No-Test: @@ -30,5 +28,5 @@ jobs: sparse-checkout: sd-installer.sh sparse-checkout-cone-mode: false - name: No - run: bash sd-installer.sh -2 | grep -q 'Launching Web UI with arguments' && echo "成功 Success" && exit 0 + run: bash sd-installer.sh -2 shell: bash diff --git a/sd-installer.sh b/sd-installer.sh index 7965518..b74b29a 100644 --- a/sd-installer.sh +++ b/sd-installer.sh @@ -11,7 +11,7 @@ net_connected=true # Other variables code_path="$installation_path/stable-diffusion-webui" brew_installer_path="$tmp_path/brew_installer.sh" -brew_pkg_path="/usr/local/bin" +brew_pkg_path="/usr/local/opt/micromamba/bin" if [[ $(uname -p) == 'arm' ]]; then echo "Apple Silicon" brew_pkg_path="/opt/homebrew/bin"