From 047ce046316a96c6183846b40062dd6f72de61fd Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Sun, 11 Aug 2019 23:58:43 +0200 Subject: [PATCH] fix mac content loading it now looks for the content next to the .app bundle and not inside it --- src/path_functions.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/path_functions.cpp b/src/path_functions.cpp index c51cfde..5eb97a3 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