github.com/keybase/client/go@v0.0.0-20241007131713-f10651d043c8/kbnm/findbin_nix.go (about) 1 //go:build !windows 2 // +build !windows 3 4 package main 5 6 import ( 7 "path/filepath" 8 ) 9 10 const kbnmBinary = "kbnm" 11 const keybaseBinary = "keybase" 12 13 // guessKeybasePath makes a platform-specific guess to where the binary might 14 // be. This is only checked as a last-ditch effort when we can't find the 15 // binary in other places. 16 func guessKeybasePath(name string) string { 17 return filepath.Join("/usr/local/bin", name) 18 }