diff --git a/Source/AaxDecrypter/AaxDecrypter.csproj b/Source/AaxDecrypter/AaxDecrypter.csproj index ee73efcd..0e9ee5eb 100644 --- a/Source/AaxDecrypter/AaxDecrypter.csproj +++ b/Source/AaxDecrypter/AaxDecrypter.csproj @@ -5,7 +5,7 @@ - + diff --git a/Source/FileLiberator/DownloadDecryptBook.cs b/Source/FileLiberator/DownloadDecryptBook.cs index ef54d81d..895cda16 100644 --- a/Source/FileLiberator/DownloadDecryptBook.cs +++ b/Source/FileLiberator/DownloadDecryptBook.cs @@ -71,8 +71,9 @@ namespace FileLiberator new StatusHandler { "Decrypt failed" }; } - // moves new files from temp dir to final dest - var movedAudioFile = moveFilesToBooksDir(libraryBook, entries); + // moves new files from temp dir to final dest. + // This could take a few seconds i moving hundreds of files. + var movedAudioFile = await Task.Run(() => moveFilesToBooksDir(libraryBook, entries)); // decrypt failed if (!movedAudioFile)