| 1 | // +build !darwin,!windows |
| 2 | |
| 3 | package pinentryscip-go gomod github.com/gopasspw/pinentry . `github.com/gopasspw/pinentry`/ |
| 4 | |
| 5 | import "github.com/gopasspw/pinentry/gpgconfscip-go gomod github.com/gopasspw/pinentry . `github.com/gopasspw/pinentry/gpgconf`/" |
| 6 | |
| 7 | // GetBinary returns the binary name |
| 8 | func GetBinaryscip-go gomod github.com/gopasspw/pinentry . `github.com/gopasspw/pinentry`/GetBinary().() string { |
| 9 | if p, err := gpgconfscip-go gomod github.com/gopasspw/pinentry . `github.com/gopasspw/pinentry/gpgconf`/.Pathscip-go gomod github.com/gopasspw/pinentry . `github.com/gopasspw/pinentry/gpgconf`/Path().("pinentry"); err == nil && p != "" { |
| 10 | return p |
| 11 | } |
| 12 | return "pinentry" |
| 13 | } |