You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 3, 2020. It is now read-only.
* ported netcode.io.host to go
* Update build scripts to build Go helper
* Update README
* Update README again
* Remove .DS_Store
* Remove demo server from build
Copy file name to clipboardExpand all lines: README.md
+19-1Lines changed: 19 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,25 @@ The easiest way to install netcode.io is to visit [the demo website](https://net
21
21
22
22
For this to work, it requires the installation of both a browser extension and a native application helper which performs the actual netcode.io communication. The extension uses the native messaging APIs provided in browsers in order to make netcode.io available via the helper.
23
23
24
-
To try this out in your browser, you'll first need to build the `netcode.io.host.sln` solution in Visual Studio, then run `Install-Windows.ps1` in Powershell, which will install the netcode.io helper into the Windows registry.
24
+
To try this out in your browser, first build the netcode.io.host helper:
25
+
26
+
#### 1. Get dependencies
27
+
```bash
28
+
go get github.com/wirepair/netcode
29
+
```
30
+
31
+
#### 2. Platform specific build instructions
32
+
33
+
*`go build` - for the current OS
34
+
*`env GOOS=windows GOARCH=amd64 go build` - to build for Windows (linux-style to set environment variables)
35
+
*`env GOOS=linux GOARCH=amd64 go build` - to build for Linux (linux-style to set environment variables)
36
+
*`env GOOS=darwin GOARCH=amd64 go build` - to build for Mac (linux-style to set environment variables)
37
+
38
+
#### 3. Install (run this from the command-line)
39
+
40
+
`./netcode.io.host`
41
+
42
+
This should run with no errors, and install itself as a native messaging extension.
25
43
26
44
After this is done, add the `browser\webext` directory as an unpacked extension.
0 commit comments