mirror of
https://github.com/rwinkhart/MUTN.git
synced 2026-08-27 20:36:29 -04:00
Add "wsl_clipboard" build tag for creating Linux binaries that use the Windows clipboard
This commit is contained in:
@@ -24,9 +24,12 @@ CGO_ENABLED=0 go build -ldflags="-s -w" ./mutn.go
|
||||
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)
|
||||
- `termux`: Allows creating a Linux binary that can interact with the Termux clipboard (for Android)
|
||||
|
||||
# Roadmap
|
||||
#### Release v0.2.0 - Make repo public - No binaries
|
||||
- Add custom build option for WSL support
|
||||
- Add fail-specific error codes
|
||||
- Address most TODOs
|
||||
- Hunt and fix bugs in preparation for public debut
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//go:build termux
|
||||
//go:build termux && !windows && !darwin
|
||||
|
||||
package backend
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//go:build !windows && !darwin && !termux
|
||||
//go:build !windows && !darwin && !termux && !wsl_clipboard
|
||||
|
||||
package backend
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//go:build windows
|
||||
//go:build windows || (!windows && !darwin && !termux && wsl_clipboard)
|
||||
|
||||
package backend
|
||||
|
||||
|
||||
Reference in New Issue
Block a user