From f61e51e50622aff68e8f7dc54b2a1c25a6f66ed0 Mon Sep 17 00:00:00 2001 From: Glax Date: Sat, 29 Jun 2024 22:49:39 +0200 Subject: [PATCH] Fix crash when moving files, now overwrites. --- Tranga/Chapter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tranga/Chapter.cs b/Tranga/Chapter.cs index 3c47878..4677d7b 100644 --- a/Tranga/Chapter.cs +++ b/Tranga/Chapter.cs @@ -105,7 +105,7 @@ public readonly struct Chapter : IComparable archiveVolNum == "0" && archiveChNum == t.chapterNumber; }); if(archive is not null && thisPath != archive.FullName) - archive.MoveTo(thisPath); + archive.MoveTo(thisPath, true); return archive is not null; } ///