From 2e3643235f7e75a1788f6f0fc924b7d18dbf03c4 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Mon, 12 Feb 2024 21:43:45 -0600 Subject: [PATCH] Update moonlight-common-c for full encryption support --- http.cpp | 5 +++++ moonlight-common-c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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