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
|
return
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
dir, err = os.UserHomeDir()
|
dir = "/data/data/org.nps.client/files"
|
||||||
if err != nil {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
dir = path.Dir(dir)
|
|
||||||
dir = path.Join(dir, "files")
|
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue