mirror of https://github.com/ehang-io/nps
change android file path
parent
186f2e228d
commit
a59a0922ca
|
@ -122,12 +122,7 @@ func getDir() (dir string, err error) {
|
|||
return
|
||||
}
|
||||
} else {
|
||||
dir, err = os.UserHomeDir()
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
dir = path.Dir(dir)
|
||||
dir = path.Join(dir, "files")
|
||||
dir = "/data/data/org.nps.client/files"
|
||||
}
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue