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
@ -1041,8 +1041,12 @@ boost::filesystem::path GetDefaultDataDir()
|
||||
fs::create_directory(pathRet);
|
||||
return pathRet / "Twister";
|
||||
#else
|
||||
#ifdef __ANDROID__
|
||||
return "/sdcard/twister";
|
||||
#else
|
||||
// Unix
|
||||
return pathRet / ".twister";
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user