1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-27 08:45:00 +01:00

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 <gibmat@debian.org>
This commit is contained in:
Mathias Gibbens
2024-10-11 13:37:12 -06:00
committed by GitHub
parent 52b70703af
commit 2c9509f988

View File

@@ -335,12 +335,18 @@ namespace OpenRCT2::Platform
std::vector<std::string_view> GetSearchablePathsRCT1()
{
return {};
return {
// game-data-packager uses this path when installing game files
"/usr/share/games/roller-coaster-tycoon",
};
}
std::vector<std::string_view> GetSearchablePathsRCT2()
{
return {};
return {
// game-data-packager uses this path when installing game files
"/usr/share/games/roller-coaster-tycoon2",
};
}
# ifndef NO_TTF