Fix crash when moving files, now overwrites.
This commit is contained in:
parent
e368c3c98a
commit
f61e51e506
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user