aboutsummaryrefslogtreecommitdiff
path: root/src/path_functions.cpp
diff options
context:
space:
mode:
authorstonedDiscord <stoned@derpymail.org>2020-02-21 16:39:32 +0100
committerGitHub <noreply@github.com>2020-02-21 16:39:32 +0100
commit7d55ff01f5f139aaa4a343e93429997418cfd8bb (patch)
tree21950571b4e933583101db6c7b2405f55c48c03e /src/path_functions.cpp
parentabbbb43c985271c6d66b94ee384c6a401e43de8d (diff)
parent6ccabdd568075dfcecc6190d8d41a50b8bd99b84 (diff)
Merge branch 'master' into 2.7
Diffstat (limited to 'src/path_functions.cpp')
-rw-r--r--src/path_functions.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/path_functions.cpp b/src/path_functions.cpp
index 92ff765b..c2c15a26 100644
--- a/src/path_functions.cpp
+++ b/src/path_functions.cpp
@@ -30,6 +30,8 @@ QString AOApplication::get_base_path()
QString external_storage = getenv("EXTERNAL_STORAGE");
base_path = external_storage + "/AO2/";
}
+#elif defined __APPLE__
+ base_path = applicationDirPath() + "/../../../base/";
#else
base_path = applicationDirPath() + "/base/";
#endif