mirror of
https://github.com/C9Glax/tranga.git
synced 2025-01-12 03:17:33 +01:00
Merge branch 'refs/heads/cuttingedge' into asuratoon
This commit is contained in:
commit
72943330c3
@ -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…
x
Reference in New Issue
Block a user