aboutsummaryrefslogtreecommitdiff
path: root/src/path_functions.cpp
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2022-07-19 09:20:14 +0200
committerGitHub <noreply@github.com>2022-07-19 09:20:14 +0200
commit972ce47fc2c9c9ddcb69488f53a0e85f3c78db83 (patch)
tree292d1e2fe732382c3d8639a2d4681c2854e54469 /src/path_functions.cpp
parent3e0e4583cb1c12163b0c98154f383db9f4269e52 (diff)
use base folder on android so the error matches (#815)
also makes extracting vanilla or applying updates easier
Diffstat (limited to 'src/path_functions.cpp')
-rw-r--r--src/path_functions.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/path_functions.cpp b/src/path_functions.cpp
index a8aae2e2..4e031d8f 100644
--- a/src/path_functions.cpp
+++ b/src/path_functions.cpp
@@ -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/";