forked from geode-sdk/android-launcher
add internal directory method
This commit is contained in:
1 file changed
+7
-1
@@ -225,7 +225,13 @@ object GeodeUtils {
|
|||||||
@JvmStatic
|
@JvmStatic
|
||||||
fun getBaseDirectory(): String {
|
fun getBaseDirectory(): String {
|
||||||
val activity = activity.get()!!
|
val activity = activity.get()!!
|
||||||
return LaunchUtils.getBaseDirectory(activity).path
|
return LaunchUtils.getBaseDirectory(activity).canonicalPath
|
||||||
|
}
|
||||||
|
|
||||||
|
@JvmStatic
|
||||||
|
fun getInternalDirectory(): String {
|
||||||
|
val activity = activity.get()!!
|
||||||
|
return activity.filesDir.canonicalPath
|
||||||
}
|
}
|
||||||
|
|
||||||
private val gameVersionMap = mapOf(
|
private val gameVersionMap = mapOf(
|
||||||
|
|||||||
Reference in new issue
Block a user