mirror of
https://github.com/4sval/FModel.git
synced 2026-08-27 20:04:25 -05:00
temporary fix manifest errors
Fixed "`Could not find ManifestInfoElement based on predicate`" by adding `epicgames-download1.akamaized.net` in the manifest predicate as `download.epicgames.com` seems to not be present in the manifest response.
This commit is contained in:
@@ -260,7 +260,7 @@ public class CUE4ParseViewModel : ViewModel
|
||||
{
|
||||
(manifest, _) = manifestInfo.DownloadAndParseAsync(manifestOptions,
|
||||
cancellationToken: cancellationToken,
|
||||
elementManifestPredicate: static x => x.Uri.Host == "download.epicgames.com"
|
||||
elementManifestPredicate: static x => x.Uri.Host == "download.epicgames.com" || x.Uri.Host == "epicgames-download1.akamaized.net"
|
||||
).GetAwaiter().GetResult();
|
||||
}
|
||||
catch (HttpRequestException ex)
|
||||
|
||||
Reference in New Issue
Block a user