Update moonlight-common-c for full encryption support

This commit is contained in:
Cameron Gutman
2024-02-12 21:43:45 -06:00
parent 56a746b1ae
commit 2e3643235f
2 changed files with 6 additions and 1 deletions

View File

@@ -132,6 +132,11 @@ void MoonlightInstance::NvHTTPRequest(int32_t /*result*/, int32_t callbackId, pp
std::string ppkstr = args.Get(1).AsString(); std::string ppkstr = args.Get(1).AsString();
bool binaryResponse = args.Get(2).AsBool(); bool binaryResponse = args.Get(2).AsBool();
// For launch/resume requests, append the additional query parameters
if (url.find("/launch?") != std::string::npos || url.find("/resume?") != std::string::npos) {
url += LiGetLaunchUrlQueryParameters();
}
PostMessage(pp::Var(url.c_str())); PostMessage(pp::Var(url.c_str()));
PHTTP_DATA data = http_create_data(); PHTTP_DATA data = http_create_data();