2
0

Merge branch 'refs/heads/cuttingedge-merge-ServerV2' into Server-V2

This commit is contained in:
Glax 2024-11-02 17:44:38 +01:00
commit bc44a5333b

View File

@ -121,6 +121,8 @@ public readonly struct Chapter : IComparable
public void CreateChapterMarker() public void CreateChapterMarker()
{ {
if (this.id is null)
return;
string path = Path.Join(TrangaSettings.downloadLocation, parentManga.folderName, $".{id}"); string path = Path.Join(TrangaSettings.downloadLocation, parentManga.folderName, $".{id}");
File.WriteAllText(path, GetArchiveFilePath()); File.WriteAllText(path, GetArchiveFilePath());
File.SetAttributes(path, FileAttributes.Hidden); File.SetAttributes(path, FileAttributes.Hidden);