aboutsummaryrefslogtreecommitdiff
path: root/src/path_functions.cpp
diff options
context:
space:
mode:
authoroldmud0 <oldmud0@users.noreply.github.com>2020-05-22 19:35:49 -0500
committeroldmud0 <oldmud0@users.noreply.github.com>2020-05-22 19:35:49 -0500
commitdf8f19320b3a37521a7f93a578bf31c81f885238 (patch)
treece7baaa5c4e58ac958b6b520a352371d14aaa4c9 /src/path_functions.cpp
parentfd1855b8d0ecaa56ae3165ad5d8f3bd65ff77a64 (diff)
Bring back CI changes and macOS support
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 811ca76f..10c8ae53 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