mirror of https://github.com/OpenRCT2/OpenRCT2.git
Merge pull request #2634 from oslerw/develop
Add /usr/local/share to search path for data files
This commit is contained in:
commit
391bea67bb
|
@ -119,6 +119,7 @@ void platform_posix_sub_user_data_path(char *buffer, const char *homedir, const
|
|||
* Default directory fallback is:
|
||||
* - (command line argument)
|
||||
* - <exePath>/data
|
||||
* - /usr/local/share/openrct2
|
||||
* - /var/lib/openrct2
|
||||
* - /usr/share/openrct2
|
||||
*/
|
||||
|
@ -129,6 +130,7 @@ void platform_posix_sub_resolve_openrct_data_path(utf8 *out) {
|
|||
// defined in CMakeLists.txt
|
||||
ORCT2_RESOURCE_DIR,
|
||||
#endif // ORCT2_RESOURCE_DIR
|
||||
"/usr/local/share/openrct2",
|
||||
"/var/lib/openrct2",
|
||||
"/usr/share/openrct2",
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue