Skip to content

Commit

Permalink
fix: update path
Browse files Browse the repository at this point in the history
  • Loading branch information
wy-luke committed Sep 5, 2023
1 parent 38ef260 commit b3feaef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
2 changes: 1 addition & 1 deletion sd-installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit b3feaef

Please sign in to comment.