mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Merge pull request #2634 from oslerw/develop
Add /usr/local/share to search path for data files
This commit is contained in:
@@ -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",
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user