Fix #16988: AppImage version does not show changelog (#24878)

This commit is contained in:
Michał Janiszewski authored and GitHub committed 2025-08-04 12:19:25 +00:00
1 parent 583517fc9c
commit 38cdd71216
2 files changed
+7 -1

No files matched your search

+1
View File
@@ -1,5 +1,6 @@
0.4.26 (in development)
------------------------------------------------------------------------
- Fix: [#16988] AppImage version does not show changelog.
0.4.25 (2025-08-03)
------------------------------------------------------------------------
+6 -1
View File
@@ -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;
}
}