mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-22 22:13:35 +02:00
Check whether H3 data has been imported using most common spellings of
data directory
This commit is contained in:
parent
91e202e0e3
commit
7dfdee2db8
@ -22,7 +22,9 @@ public class Storage
|
||||
public static boolean testH3DataFolder(final File baseDir)
|
||||
{
|
||||
final File testH3Data = new File(baseDir, "Data");
|
||||
return testH3Data.exists();
|
||||
final File testH3data = new File(baseDir, "data");
|
||||
final File testH3DATA = new File(baseDir, "DATA");
|
||||
return testH3Data.exists() || testH3data.exists() || testH3DATA.exists();
|
||||
}
|
||||
|
||||
public static String getH3DataFolder(Context context){
|
||||
|
Loading…
Reference in New Issue
Block a user