From 64d23d5e290d4bb090ecd17b22a5f784bccf6538 Mon Sep 17 00:00:00 2001 From: Mathias Gibbens Date: Wed, 9 Oct 2024 23:21:05 +0000 Subject: [PATCH] Add Linux searchable paths created by game-data-packager With the changes in #22819, it seems reasonable to add a couple of default searchable paths for Linux that are created by the `game-data-packager` utility, available in Debian and its various derivatives. Signed-off-by: Mathias Gibbens --- src/openrct2/platform/Platform.Linux.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/openrct2/platform/Platform.Linux.cpp b/src/openrct2/platform/Platform.Linux.cpp index 4d4853d9e726..3ddf5d745467 100644 --- a/src/openrct2/platform/Platform.Linux.cpp +++ b/src/openrct2/platform/Platform.Linux.cpp @@ -335,12 +335,16 @@ namespace OpenRCT2::Platform std::vector GetSearchablePathsRCT1() { - return {}; + return { + R"(/usr/share/games/roller-coaster-tycoon)", + }; } std::vector GetSearchablePathsRCT2() { - return {}; + return { + R"(/usr/share/games/roller-coaster-tycoon2)", + }; } # ifndef NO_TTF