From bb46021f20fc3a06be0f140eedfac5a7d01406b1 Mon Sep 17 00:00:00 2001 From: Michael Bucari-Tovo Date: Tue, 3 Aug 2021 06:41:22 -0600 Subject: [PATCH 1/3] Fuxed possible null reference. --- FileManager/BackgroundFileSystem.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/FileManager/BackgroundFileSystem.cs b/FileManager/BackgroundFileSystem.cs index 91e47916..a239581c 100644 --- a/FileManager/BackgroundFileSystem.cs +++ b/FileManager/BackgroundFileSystem.cs @@ -22,6 +22,8 @@ namespace FileManager public string FindFile(string regexPattern, RegexOptions options) { + if (fsCache is null) return null; + lock (fsCache) { return fsCache.FirstOrDefault(s => Regex.IsMatch(s, regexPattern, options)); From 727d1479bb9b96c6da522be6487d4f893ad8ae25 Mon Sep 17 00:00:00 2001 From: Michael Bucari-Tovo Date: Tue, 3 Aug 2021 06:41:44 -0600 Subject: [PATCH 2/3] Updated user-agent to fix AAXC files not downloading. --- FileLiberator/DownloadDecryptBook.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FileLiberator/DownloadDecryptBook.cs b/FileLiberator/DownloadDecryptBook.cs index a2b961c6..1bfea2a6 100644 --- a/FileLiberator/DownloadDecryptBook.cs +++ b/FileLiberator/DownloadDecryptBook.cs @@ -78,7 +78,7 @@ namespace FileLiberator contentLic?.ContentMetadata?.ContentUrl?.OfflineUrl, contentLic?.Voucher?.Key, contentLic?.Voucher?.Iv, - Resources.UserAgent + "Audible/671 CFNetwork/1240.0.4 Darwin/20.6.0" ); if (Configuration.Instance.AllowLibationFixup) From 7685613e8c1c2ef21385f15f517f2abdcc3a33b7 Mon Sep 17 00:00:00 2001 From: Michael Bucari-Tovo Date: Tue, 3 Aug 2021 06:42:48 -0600 Subject: [PATCH 3/3] Version update. --- LibationLauncher/LibationLauncher.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LibationLauncher/LibationLauncher.csproj b/LibationLauncher/LibationLauncher.csproj index acd004f9..c0d121d3 100644 --- a/LibationLauncher/LibationLauncher.csproj +++ b/LibationLauncher/LibationLauncher.csproj @@ -13,7 +13,7 @@ win-x64 - 5.4.8.3 + 5.4.9.0