forked from lthn/blockchain
fixed paindroid home dir prefix
This commit is contained in:
parent
f621740c79
commit
181392f641
1 changed files with 2 additions and 1 deletions
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
std::atomic<bool> initialized(false);
|
||||
|
||||
#define ANDROID_PACKAGE_NAME "zano_mobile"
|
||||
#define ANDROID_PACKAGE_NAME "com.zano_mobile"
|
||||
#ifdef IOS_BUILD
|
||||
#define HOME_FOLDER "Documents"
|
||||
#elif ANDROID_BUILD
|
||||
|
|
@ -40,6 +40,7 @@ namespace plain_wallet
|
|||
strcpy(buffer, getenv("HOME"));
|
||||
return buffer;
|
||||
#elif ANDROID_BUILD
|
||||
/// data/data/com.zano_mobile/files
|
||||
return "/data/data/" ANDROID_PACKAGE_NAME;
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue