mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-08 22:57:52 +00:00
fs fixed. need another solution
This commit is contained in:
parent
46fafebade
commit
9d9793e1af
6
FS.cpp
6
FS.cpp
@ -54,9 +54,9 @@ namespace fs {
|
|||||||
dataDir = (home != NULL && strlen(home) > 0) ? home : "";
|
dataDir = (home != NULL && strlen(home) > 0) ? home : "";
|
||||||
dataDir += "/Library/Application Support/" + appName;
|
dataDir += "/Library/Application Support/" + appName;
|
||||||
return;
|
return;
|
||||||
#elif defined(ANDROID)
|
//#elif defined(ANDROID)
|
||||||
dataDir = "/sdcard/" + appName; // TODO: might not work for some devices
|
// dataDir = "/sdcard/" + appName; // TODO: might not work for some devices //does throw & terminate on Android 6.0 (?) in i2p::fs::Init()+164
|
||||||
return;
|
// return;
|
||||||
#else /* other unix */
|
#else /* other unix */
|
||||||
char *home = getenv("HOME");
|
char *home = getenv("HOME");
|
||||||
if (isService) {
|
if (isService) {
|
||||||
|
Loading…
Reference in New Issue
Block a user