Merge branch 'refs/heads/cuttingedge-merge-ServerV2' into Server-V2
This commit is contained in:
commit
bc44a5333b
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user