Merge pull request #80 from Mbucari/master

Fixed AAXC not downloading.
This commit is contained in:
rmcrackan 2021-08-03 09:17:03 -04:00 committed by GitHub
commit 7e89386173
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions

View File

@ -78,7 +78,7 @@ namespace FileLiberator
contentLic?.ContentMetadata?.ContentUrl?.OfflineUrl, contentLic?.ContentMetadata?.ContentUrl?.OfflineUrl,
contentLic?.Voucher?.Key, contentLic?.Voucher?.Key,
contentLic?.Voucher?.Iv, contentLic?.Voucher?.Iv,
Resources.UserAgent "Audible/671 CFNetwork/1240.0.4 Darwin/20.6.0"
); );
if (Configuration.Instance.AllowLibationFixup) if (Configuration.Instance.AllowLibationFixup)

View File

@ -22,6 +22,8 @@ namespace FileManager
public string FindFile(string regexPattern, RegexOptions options) public string FindFile(string regexPattern, RegexOptions options)
{ {
if (fsCache is null) return null;
lock (fsCache) lock (fsCache)
{ {
return fsCache.FirstOrDefault(s => Regex.IsMatch(s, regexPattern, options)); return fsCache.FirstOrDefault(s => Regex.IsMatch(s, regexPattern, options));

View File

@ -13,7 +13,7 @@
<!-- <PublishSingleFile>true</PublishSingleFile> --> <!-- <PublishSingleFile>true</PublishSingleFile> -->
<RuntimeIdentifier>win-x64</RuntimeIdentifier> <RuntimeIdentifier>win-x64</RuntimeIdentifier>
<Version>5.4.8.3</Version> <Version>5.4.9.0</Version>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>