mirror of
https://github.com/geode-sdk/android-launcher.git
synced 2026-10-21 16:32:39 +00:00
add internal directory method
This commit is contained in:
1 file changed
+7
-1
@@ -225,7 +225,13 @@ object GeodeUtils {
|
||||
@JvmStatic
|
||||
fun getBaseDirectory(): String {
|
||||
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(
|
||||
|
||||
Reference in new issue
Block a user