From 972ce47fc2c9c9ddcb69488f53a0e85f3c78db83 Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Tue, 19 Jul 2022 09:20:14 +0200 Subject: [PATCH] use base folder on android so the error matches (#815) also makes extracting vanilla or applying updates easier --- src/path_functions.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/path_functions.cpp b/src/path_functions.cpp index a8aae2e..4e031d8 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/";