i forgot if this fixes it

This commit is contained in:
Gray
2024-03-30 08:57:45 -04:00
parent c55a72befa
commit 4c18410a38
2 changed files with 12 additions and 3 deletions

View File

@@ -64,9 +64,17 @@ inline CURLcode CurlEasySetOptDetour(struct Curl_easy* data, CURLoption tag, ...
if (bIsS13Epic)
{
// this *should* work
uri.QueryString = ReplaceString(uri.QueryString.data(), "Windows", "IOS");
url = ReplaceString(uri.QueryString.data(), "Windows", "IOS"); // Uhh this should be fine
if (!uri.QueryString.empty())
{
// this *should* work
std::cout << "before query: " << uri.QueryString << '\n';
uri.QueryString = ReplaceString(uri.QueryString.data(), "Windows", "IOS");
std::cout << "after query: " << uri.QueryString << '\n';
}
else
{
std::cout << "Empty query!\n";
}
}
std::cout << "URL: " << uri.Host << uri.Path << '\n';

View File

@@ -1,3 +1,4 @@
#include <Windows.h>
#include <iostream>
#include <detours.h>