mirror of
https://github.com/cemu-project/Cemu.git
synced 2024-11-25 18:46:55 +01:00
DownloadManager: Fix missing updates
This commit is contained in:
parent
1c73dc9e1b
commit
e7c6862e19
@ -31,7 +31,7 @@ namespace NAPI
|
|||||||
requestUrl = NintendoURLs::TAGAYAURL;
|
requestUrl = NintendoURLs::TAGAYAURL;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
requestUrl.append(fmt::format(fmt::runtime("/{}/{}/latest_version"), NCrypto::GetRegionAsString(authInfo.region), authInfo.country));
|
requestUrl.append(fmt::format(fmt::runtime("/{}/{}/latest_version"), NCrypto::GetRegionAsString(authInfo.region), authInfo.country.empty() ? "NN" : authInfo.country));
|
||||||
req.initate(authInfo.GetService(), requestUrl, CurlRequestHelper::SERVER_SSL_CONTEXT::TAGAYA);
|
req.initate(authInfo.GetService(), requestUrl, CurlRequestHelper::SERVER_SSL_CONTEXT::TAGAYA);
|
||||||
|
|
||||||
if (!req.submitRequest(false))
|
if (!req.submitRequest(false))
|
||||||
@ -63,7 +63,7 @@ namespace NAPI
|
|||||||
{
|
{
|
||||||
NAPI_VersionList_Result result;
|
NAPI_VersionList_Result result;
|
||||||
CurlRequestHelper req;
|
CurlRequestHelper req;
|
||||||
req.initate(authInfo.GetService(), fmt::format("https://{}/tagaya/versionlist/{}/{}/list/{}.versionlist", fqdnURL, NCrypto::GetRegionAsString(authInfo.region), authInfo.country, versionListVersion), CurlRequestHelper::SERVER_SSL_CONTEXT::TAGAYA);
|
req.initate(authInfo.GetService(), fmt::format("https://{}/tagaya/versionlist/{}/{}/list/{}.versionlist", fqdnURL, NCrypto::GetRegionAsString(authInfo.region), authInfo.country.empty() ? "NN" : authInfo.country, versionListVersion), CurlRequestHelper::SERVER_SSL_CONTEXT::TAGAYA);
|
||||||
if (!req.submitRequest(false))
|
if (!req.submitRequest(false))
|
||||||
{
|
{
|
||||||
cemuLog_log(LogType::Force, fmt::format("Failed to request update list"));
|
cemuLog_log(LogType::Force, fmt::format("Failed to request update list"));
|
||||||
|
Loading…
Reference in New Issue
Block a user