mirror of
https://github.com/ehang-io/nps.git
synced 2025-08-31 17:56:56 +00:00
change android file path
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user