2
0

Fix crash when moving files, now overwrites.

This commit is contained in:
Glax 2024-06-29 22:49:39 +02:00
parent e368c3c98a
commit f61e51e506

View File

@ -105,7 +105,7 @@ public readonly struct Chapter : IComparable
archiveVolNum == "0" && archiveChNum == t.chapterNumber; archiveVolNum == "0" && archiveChNum == t.chapterNumber;
}); });
if(archive is not null && thisPath != archive.FullName) if(archive is not null && thisPath != archive.FullName)
archive.MoveTo(thisPath); archive.MoveTo(thisPath, true);
return archive is not null; return archive is not null;
} }
/// <summary> /// <summary>