Skip to content

Commit

Permalink
Added keybase search path for MacOS Catalina
Browse files Browse the repository at this point in the history
  • Loading branch information
dcwangmit01 authored and Joshua Dotson committed Jan 13, 2020
1 parent 6e6896e commit 171e1b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/keybase/keybase.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func StopMirror(configDir string) error {
// Windows10: Detect k: and /k
func GetMounts(configRootDir string) (source string, target string, err error) {

keybaseRoots := []string{"/keybase", "k:", "/k"}
keybaseRoots := []string{"/keybase", "/Volumes/keybase", "k:", "/k"}
keybaseTestSubdir := "/private"
for _, keybaseRoot := range keybaseRoots {
if absPath, err := filepath.Abs(filepath.Join(keybaseRoot, keybaseTestSubdir)); err == nil {
Expand Down

0 comments on commit 171e1b9

Please sign in to comment.