| 29 | } |
| 30 | |
| 31 | std::filesystem::path ResolveLibraryPath(const std::string& configured) { |
| 32 | std::filesystem::path path(OSTPlatform::Encoding::Utf8ToWide(configured)); |
| 33 | if (path.is_absolute()) return path; |
| 34 | |
| 35 | std::filesystem::path base(OSTPlatform::Encoding::Utf8ToWide(SteamInstallPath)); |
| 36 | return base / path; |
| 37 | } |
| 38 | |
| 39 | const std::string* ConfiguredLibraryFor(const Config::InjectionSettings& settings, |
| 40 | OSTPlatform::RemoteProcess::Architecture architecture) { |