1
0
Fork 0
forked from lthn/blockchain

fixed paindroid home dir prefix

This commit is contained in:
cryptozoidberg 2020-02-21 19:29:46 +01:00
parent f621740c79
commit 181392f641
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC

View file

@ -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
}