From e787883e30f9c37fa03d4f8882a9ea881ddd2f6b Mon Sep 17 00:00:00 2001 From: Darren Reid Date: Wed, 20 Nov 2024 12:13:44 +1100 Subject: [PATCH] Fix wsl/windows opening of browser --- install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install.sh b/install.sh index 4af66f6..04de44e 100644 --- a/install.sh +++ b/install.sh @@ -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