Skip to content

Commit

Permalink
Fix wsl/windows opening of browser
Browse files Browse the repository at this point in the history
  • Loading branch information
Layoric committed Nov 20, 2024
1 parent ccbaf07 commit e787883
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,8 @@ setup_ai_provider() {
open "http://localhost:5006"
elif [[ "$OSTYPE" == "linux-gnu"* ]]; then
xdg-open "http://localhost:5006"
elif command -v explorer.exe &> /dev/null; then
explorer.exe "http://localhost:5006"
else
gum style --foreground="#CCCCCC" "Please open http://localhost:5006 in your browser"
fi
Expand Down

0 comments on commit e787883

Please sign in to comment.