|
|
|
@ -54,9 +54,9 @@ namespace fs {
@@ -54,9 +54,9 @@ namespace fs {
|
|
|
|
|
dataDir = (home != NULL && strlen(home) > 0) ? home : ""; |
|
|
|
|
dataDir += "/Library/Application Support/" + appName; |
|
|
|
|
return; |
|
|
|
|
#elif defined(ANDROID) |
|
|
|
|
dataDir = "/sdcard/" + appName; // TODO: might not work for some devices
|
|
|
|
|
return; |
|
|
|
|
//#elif defined(ANDROID)
|
|
|
|
|
// dataDir = "/sdcard/" + appName; // TODO: might not work for some devices //does throw & terminate on Android 6.0 (?) in i2p::fs::Init()+164
|
|
|
|
|
// return;
|
|
|
|
|
#else /* other unix */ |
|
|
|
|
char *home = getenv("HOME"); |
|
|
|
|
if (isService) { |
|
|
|
|