Don't delete temp aaxc file if download failed.
This commit is contained in:
parent
f68bf2d6b3
commit
eab6f71a4c
@ -62,7 +62,7 @@ namespace FileLiberator
|
||||
// decrypt failed
|
||||
if (!success)
|
||||
{
|
||||
foreach (var tmpFile in entries)
|
||||
foreach (var tmpFile in entries.Where(f => f.FileType != FileType.AAXC))
|
||||
FileUtility.SaferDelete(tmpFile.Path);
|
||||
|
||||
return new StatusHandler { "Decrypt failed" };
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user