diff --git a/README.md b/README.md index 3b1226d2..90088d6f 100644 --- a/README.md +++ b/README.md @@ -125,6 +125,20 @@ ## Compilation +### Windows + +```bash +go build -o xray.exe -trimpath -ldflags "-s -w -buildid=" ./main +``` + +### Linux / macOS + +```bash +go build -o xray -trimpath -ldflags "-s -w -buildid=" ./main +``` + +### General + ```bash make ```