Skip to content

Commit 065425b

Browse files
Wind010Sean-Der
authored andcommitted
Update installation command for golang version 1.17 and up
1 parent a40e6cd commit 065425b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

readme.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,19 @@ There are a handful of bugs to fix, but everything works pretty well at the mome
1212

1313
Download a binary from the releases page: https://github.com/maxmcd/webtty/releases
1414

15-
Or, install directly with Go. WebTTY requires go version 1.9 or higher.
15+
Or, install directly with Go. WebTTY requires Go version 1.9 or higher.
1616

17+
For Go versions below 1.7:
18+
```bash
19+
go get -u github.com/maxmcd/webtty
20+
```
21+
22+
For Go versions 1.7 and up:
1723
```bash
1824
go install github.com/maxmcd/webtty@latest
1925
```
2026

27+
2128
There were recent breaking api changes in the pion/webrtc library. Make sure to run `go get -u github.com/pion/webrtc` if you're running into any installation errors.
2229

2330
### Running

0 commit comments

Comments
 (0)