mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-02-02 09:54:29 +00:00
android path "/sdcard/twister" (not quite standard but works)
This commit is contained in:
parent
5f3731bab3
commit
f69227c73a
@ -1040,11 +1040,15 @@ boost::filesystem::path GetDefaultDataDir()
|
||||
pathRet /= "Library/Application Support";
|
||||
fs::create_directory(pathRet);
|
||||
return pathRet / "Twister";
|
||||
#else
|
||||
#ifdef __ANDROID__
|
||||
return "/sdcard/twister";
|
||||
#else
|
||||
// Unix
|
||||
return pathRet / ".twister";
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
const boost::filesystem::path &GetDataDir(bool fNetSpecific)
|
||||
|
Loading…
x
Reference in New Issue
Block a user