diff --git a/README.md b/README.md index c4748c6..b8ae256 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ CGO_ENABLED=0 go build -ldflags="-s -w" ./libmuttonserver.go ``` Additionally, some custom build tags can be used to create different binaries. The following tags are not used in official builds: -- `wsl_clipboard`: Allows creating a Linux binary that can interact with the Windows clipboard (for WSL) +- `wsl`: Allows creating a Linux binary that can interact with the Windows clipboard (for WSL) - `termux`: Allows creating a Linux binary that can interact with the Termux clipboard (for Android) # Roadmap diff --git a/src/backend/copyTERMUX.go b/src/backend/copyTERMUX.go index 724596e..7fe808f 100644 --- a/src/backend/copyTERMUX.go +++ b/src/backend/copyTERMUX.go @@ -1,4 +1,4 @@ -//go:build termux && !windows && !darwin +//go:build linux && termux package backend diff --git a/src/backend/copyUNIXGeneric.go b/src/backend/copyUNIXGeneric.go index 6ca7883..50db16e 100644 --- a/src/backend/copyUNIXGeneric.go +++ b/src/backend/copyUNIXGeneric.go @@ -1,4 +1,4 @@ -//go:build !windows && !darwin && !termux && !wsl_clipboard +//go:build !windows && !darwin && !termux && !wsl package backend diff --git a/src/backend/copyWIN.go b/src/backend/copyWIN.go index b54b847..68edf12 100644 --- a/src/backend/copyWIN.go +++ b/src/backend/copyWIN.go @@ -1,4 +1,4 @@ -//go:build windows || (!windows && !darwin && !termux && wsl_clipboard) +//go:build windows || (linux && wsl) package backend