use base folder on android so the error matches (#815)
also makes extracting vanilla or applying updates easier
This commit is contained in:
parent
3e0e4583cb
commit
972ce47fc2
@ -33,12 +33,12 @@ QString AOApplication::get_base_path()
|
||||
QString base_path = "";
|
||||
#ifdef ANDROID
|
||||
QString sdcard_storage = getenv("SECONDARY_STORAGE");
|
||||
if (dir_exists(sdcard_storage + "/AO2/")) {
|
||||
base_path = sdcard_storage + "/AO2/";
|
||||
if (dir_exists(sdcard_storage + "/base/")) {
|
||||
base_path = sdcard_storage + "/base/";
|
||||
}
|
||||
else {
|
||||
QString external_storage = getenv("EXTERNAL_STORAGE");
|
||||
base_path = external_storage + "/AO2/";
|
||||
base_path = external_storage + "/base/";
|
||||
}
|
||||
#elif defined(__APPLE__)
|
||||
base_path = applicationDirPath() + "/../../../base/";
|
||||
|
Loading…
Reference in New Issue
Block a user