diff --git a/examples/create-react-app/README.md b/examples/create-react-app/README.md new file mode 100644 index 0000000..af827be --- /dev/null +++ b/examples/create-react-app/README.md @@ -0,0 +1,8 @@ +# Create-React-App Example + +- Run `yarn && yarn build` inside of `public/` +- Run `go generate && go build` inside this directory. +- Ensure Ultralight libraries are installed + +## Help! I get `exit status 3221225781` when I try to run the executable! +Due to Ultralight's licensing it can only be dynamically linked to. Meaning you'll need to either add the respective `.dll`'s or `.so`'s to either a system path, or the same directory as the the executable. You can find these libraries on https://ultralig.ht/ (The version that Muon uses can be found in `ultralight/libs/`) \ No newline at end of file diff --git a/examples/create-react-app/cra-go.exe b/examples/create-react-app/cra-go.exe new file mode 100644 index 0000000..baed95e Binary files /dev/null and b/examples/create-react-app/cra-go.exe differ diff --git a/examples/create-react-app/go.mod b/examples/create-react-app/go.mod index fd2b117..67c5923 100644 --- a/examples/create-react-app/go.mod +++ b/examples/create-react-app/go.mod @@ -3,6 +3,6 @@ module cra-go go 1.13 require ( - github.com/ImVexed/muon v0.0.0-20191002025434-ac0754bb0a30 // indirect + github.com/ImVexed/muon v0.0.0-20191004212303-f7aa6a2d7142 golang.org/x/net v0.0.0-20190930134127-c5a3c61f89f3 )