From 724dc27f1369d066869d3db1a0fe92749269a20f Mon Sep 17 00:00:00 2001 From: crgimenes Date: Sun, 2 Feb 2025 20:49:33 -0300 Subject: [PATCH] update run instructions --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a213b1d..c7620b2 100644 --- a/README.md +++ b/README.md @@ -17,10 +17,16 @@ In this example, we used the [Ebitengine](https://ebitengine.org), an incredibly Note that some operating systems may restrict the execution of binaries downloaded from the internet for security reasons. Please consult your operating system documentation to learn how to enable Neko to run. ```bash -cd neko -go run ./main.go +export CGO_ENABLED=1 +go run main.go ``` +Or you can build the binary and run it: + +```bash +export CGO_ENABLED=1 +go build -o neko main.go +``` Parameters - `-mousepassthrough` Enable mouse passthrough (default false).