mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-10 17:42:29 +01:00
committed by
GitHub
parent
583517fc9c
commit
38cdd71216
@@ -1,5 +1,6 @@
|
||||
0.4.26 (in development)
|
||||
------------------------------------------------------------------------
|
||||
- Fix: [#16988] AppImage version does not show changelog.
|
||||
|
||||
0.4.25 (2025-08-03)
|
||||
------------------------------------------------------------------------
|
||||
|
||||
@@ -102,7 +102,11 @@ namespace OpenRCT2::Platform
|
||||
|
||||
std::string GetDocsPath()
|
||||
{
|
||||
static const utf8* searchLocations[] = {
|
||||
std::string relative = Path::GetDirectory(Platform::GetCurrentExecutablePath());
|
||||
relative = Path::Combine(relative, u8"../share/doc/openrct2");
|
||||
const utf8* searchLocations[] = {
|
||||
// First try the directory relative to the executable
|
||||
relative.c_str(),
|
||||
"./doc",
|
||||
"/usr/share/doc/openrct2",
|
||||
DOCDIR,
|
||||
@@ -112,6 +116,7 @@ namespace OpenRCT2::Platform
|
||||
LOG_VERBOSE("Looking for OpenRCT2 doc path at %s", searchLocation);
|
||||
if (Path::DirectoryExists(searchLocation))
|
||||
{
|
||||
LOG_VERBOSE("Found OpenRCT2 doc path at %s", searchLocation);
|
||||
return searchLocation;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user