mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add seperate cache path
This is set to the XDG cache path where possible. It's set to the app's cache path on Android.
This commit is contained in:
parent
51e8c2b277
commit
ea2964f5a1
8 changed files with 118 additions and 30 deletions
|
@ -43,10 +43,10 @@ void initAndroid();
|
|||
void cleanupAndroid();
|
||||
|
||||
/**
|
||||
* set storage dir on external sdcard#
|
||||
* @param lJNIEnv environment from android
|
||||
* Initializes path_* variables for Android
|
||||
* @param env Android JNI environment
|
||||
*/
|
||||
void setExternalStorageDir(JNIEnv* lJNIEnv);
|
||||
void initializePathsAndroid();
|
||||
|
||||
/**
|
||||
* use java function to copy media from assets to external storage
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue