fix mac content loading
it now looks for the content next to the .app bundle and not inside it
This commit is contained in:
parent
7fe64163ea
commit
047ce04631
@ -30,6 +30,8 @@ QString AOApplication::get_base_path()
|
|||||||
QString external_storage = getenv("EXTERNAL_STORAGE");
|
QString external_storage = getenv("EXTERNAL_STORAGE");
|
||||||
base_path = external_storage + "/AO2/";
|
base_path = external_storage + "/AO2/";
|
||||||
}
|
}
|
||||||
|
#elif defined __APPLE__
|
||||||
|
base_path = applicationDirPath() + "/../../../base/";
|
||||||
#else
|
#else
|
||||||
base_path = applicationDirPath() + "/base/";
|
base_path = applicationDirPath() + "/base/";
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user