| 140 | } |
| 141 | |
| 142 | std::string GetInstallPath() |
| 143 | { |
| 144 | auto path = std::string(gCustomOpenRCT2DataPath); |
| 145 | if (!path.empty()) |
| 146 | { |
| 147 | path = Path::GetAbsolute(path); |
| 148 | } |
| 149 | else |
| 150 | { |
| 151 | auto exeDirectory = GetCurrentExecutableDirectory(); |
| 152 | path = Path::Combine(exeDirectory, u8"data"); |
| 153 | } |
| 154 | return path; |
| 155 | } |
| 156 | |
| 157 | std::string GetCurrentExecutablePath() |
| 158 | { |
nothing calls this directly
no test coverage detected