mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-11 20:11:18 +03:00
Use "External" Storage
This commit is contained in:
committed by
iProgramInCpp
parent
0721741564
commit
91f3b5a5d5
@@ -22,7 +22,8 @@ android {
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
applicationVariants.all { variant ->
|
||||
applicationVariants.configureEach { variant ->
|
||||
//noinspection ConfigurationAvoidance
|
||||
tasks["merge${variant.name.capitalize()}Assets"]
|
||||
.dependsOn("externalNativeBuild${variant.name.capitalize()}")
|
||||
}
|
||||
|
||||
@@ -385,7 +385,7 @@ int main(int argc, char *argv[])
|
||||
#elif defined(__EMSCRIPTEN__)
|
||||
storagePath = "";
|
||||
#elif defined(ANDROID)
|
||||
storagePath = SDL_AndroidGetInternalStoragePath();
|
||||
storagePath = SDL_AndroidGetExternalStoragePath();
|
||||
#else
|
||||
storagePath = getenv("HOME");
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user