From d66c112a1e398e414941215d8076932d87a6aff6 Mon Sep 17 00:00:00 2001 From: Robert McRackan Date: Sat, 21 Aug 2021 22:32:45 -0400 Subject: [PATCH] bug fix. race condition. can't check for book-exists-state before setting this state --- FileLiberator/DownloadDecryptBook.cs | 3 --- LibationLauncher/LibationLauncher.csproj | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/FileLiberator/DownloadDecryptBook.cs b/FileLiberator/DownloadDecryptBook.cs index e0d960ef..7b9ec687 100644 --- a/FileLiberator/DownloadDecryptBook.cs +++ b/FileLiberator/DownloadDecryptBook.cs @@ -49,9 +49,6 @@ namespace FileLiberator // moves files and returns dest dir _ = moveFilesToBooksDir(libraryBook.Book, outputAudioFilename); - if (!libraryBook.Book.Audio_Exists) - return new StatusHandler { "Cannot find final audio file after decryption" }; - // only need to update if success. if failure, it will remain at 0 == NotLiberated ApplicationServices.LibraryCommands.UpdateBook(libraryBook, LiberatedStatus.Liberated); diff --git a/LibationLauncher/LibationLauncher.csproj b/LibationLauncher/LibationLauncher.csproj index c6dc6bb2..c437de6d 100644 --- a/LibationLauncher/LibationLauncher.csproj +++ b/LibationLauncher/LibationLauncher.csproj @@ -13,7 +13,7 @@ win-x64 - 5.5.2.1 + 5.5.3.1