We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa29e5d commit 87a53b2Copy full SHA for 87a53b2
setup.sh
@@ -11,11 +11,7 @@ go mod tidy
11
go get github.com/webui-dev/go-webui/v2@main
12
go get github.com/webui-dev/webui@main > /dev/null 2>&1
13
14
-if [ -z "$GOPATH" ]; then
15
- go_path=$(go env GOPATH)
16
-else
17
- go_path=$GOPATH
18
-fi
+go_path="${GOPATH:-$(go env GOPATH)}"
19
20
go_webui_full_version=$(grep "github.com/webui-dev/go-webui/v2" go.sum | awk '{print $2}' | head -n 1)
21
webui_full_version=$(grep "github.com/webui-dev/webui" go.sum | awk '{print $2}' | head -n 1)
0 commit comments