Skip to content

Commit aa29e5d

Browse files
committed
Fix setup with GOPATH env var not set
1 parent cae9ed9 commit aa29e5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ go get github.com/webui-dev/go-webui/v2@main
1212
go get github.com/webui-dev/webui@main > /dev/null 2>&1
1313

1414
if [ -z "$GOPATH" ]; then
15-
go_path=$HOME/go
15+
go_path=$(go env GOPATH)
1616
else
1717
go_path=$GOPATH
1818
fi

0 commit comments

Comments
 (0)