change android file path

pull/310/head
刘河 2019-12-16 21:28:38 +08:00
parent 186f2e228d
commit a59a0922ca
1 changed files with 1 additions and 6 deletions

View File

@ -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
}