mirror of
https://github.com/ehang-io/nps.git
synced 2025-07-04 22:00:43 +00:00
change android file path
This commit is contained in:
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…
x
Reference in New Issue
Block a user