Skip to content

Commit

Permalink
Add Linux searchable paths created by game-data-packager
Browse files Browse the repository at this point in the history
With the changes in OpenRCT2#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 <[email protected]>
  • Loading branch information
gibmat committed Oct 9, 2024
1 parent 121d1ff commit 298b641
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/openrct2/platform/Platform.Linux.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -335,12 +335,17 @@ namespace OpenRCT2::Platform

std::vector<std::string_view> GetSearchablePathsRCT1()
{
return {};
return {
R"(/usr/share/games/roller-coaster-tycoon)",
};

}

std::vector<std::string_view> GetSearchablePathsRCT2()
{
return {};
return {
R"(/usr/share/games/roller-coaster-tycoon2)",
};
}

# ifndef NO_TTF
Expand Down

0 comments on commit 298b641

Please sign in to comment.