Minor fix.

This commit is contained in:
Michael Bucari-Tovo 2021-07-11 15:18:07 -06:00
parent b766e43656
commit 11e63ae5a2

View File

@ -173,10 +173,15 @@ namespace AaxDecrypter
var decryptedBook = aaxFile.DecryptAaxc(outFile, downloadLicense.AudibleKey, downloadLicense.AudibleIV, downloadLicense.ChapterInfo);
aaxFile.DecryptionProgressUpdate -= AaxFile_DecryptionProgressUpdate;
downloadLicense.ChapterInfo = aaxFile.Chapters;
if (coverArt is not null)
{
decryptedBook?.AppleTags?.SetCoverArt(coverArt);
decryptedBook?.Save();
decryptedBook?.Close();
}
decryptedBook?.Close();
nfsPersister.Dispose();
DecryptProgressUpdate?.Invoke(this, 0);