diff --git a/http.cpp b/http.cpp index 5097f95..c03d45a 100644 --- a/http.cpp +++ b/http.cpp @@ -132,6 +132,11 @@ void MoonlightInstance::NvHTTPRequest(int32_t /*result*/, int32_t callbackId, pp std::string ppkstr = args.Get(1).AsString(); 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())); PHTTP_DATA data = http_create_data(); diff --git a/moonlight-common-c b/moonlight-common-c index 5de4a5b..ec171fd 160000 --- a/moonlight-common-c +++ b/moonlight-common-c @@ -1 +1 @@ -Subproject commit 5de4a5b85a28d8d639482a1a105c3a06eb67a2fd +Subproject commit ec171fd7cab4cb8b7eb6416f1ad9ad62e339efb2