| 1246 | const RString& cli = AppConfig::Instance().GetWorkshopDir(); |
| 1247 | if (cli.GetLength() > 0) |
| 1248 | return (const char*)cli; |
| 1249 | return Foundation::GamePaths::Instance().WorkshopDir(); |
| 1250 | } |
| 1251 | |
| 1252 | static std::string LowerStr(std::string s) |
| 1253 | { |
| 1254 | std::transform(s.begin(), s.end(), s.begin(), [](unsigned char c) { return static_cast<char>(std::tolower(c)); }); |
| 1255 | return s; |
no outgoing calls
no test coverage detected