mirror of
https://github.com/rwinkhart/MUTN.git
synced 2026-09-06 00:57:15 -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:
|
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)
|
- `termux`: Allows creating a Linux binary that can interact with the Termux clipboard (for Android)
|
||||||
|
|
||||||
# Roadmap
|
# Roadmap
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
//go:build termux && !windows && !darwin
|
//go:build linux && termux
|
||||||
|
|
||||||
package backend
|
package backend
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
//go:build !windows && !darwin && !termux && !wsl_clipboard
|
//go:build !windows && !darwin && !termux && !wsl
|
||||||
|
|
||||||
package backend
|
package backend
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
//go:build windows || (!windows && !darwin && !termux && wsl_clipboard)
|
//go:build windows || (linux && wsl)
|
||||||
|
|
||||||
package backend
|
package backend
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user