mirror of
https://github.com/rwinkhart/MUTN.git
synced 2026-08-27 20:36:29 -04:00
Simplify clipboard build constraints
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//go:build termux && !windows && !darwin
|
||||
//go:build linux && termux
|
||||
|
||||
package backend
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//go:build !windows && !darwin && !termux && !wsl_clipboard
|
||||
//go:build !windows && !darwin && !termux && !wsl
|
||||
|
||||
package backend
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//go:build windows || (!windows && !darwin && !termux && wsl_clipboard)
|
||||
//go:build windows || (linux && wsl)
|
||||
|
||||
package backend
|
||||
|
||||
|
||||
Reference in New Issue
Block a user