diff --git a/Tranga/Chapter.cs b/Tranga/Chapter.cs index 3bd2a9f..6e40c6b 100644 --- a/Tranga/Chapter.cs +++ b/Tranga/Chapter.cs @@ -120,6 +120,7 @@ public readonly struct Chapter : IComparable { string path = Path.Join(TrangaSettings.downloadLocation, parentManga.folderName, $".{id}"); File.WriteAllText(path, GetArchiveFilePath()); + File.SetAttributes(path, FileAttributes.Hidden); if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux)) File.SetUnixFileMode(path, UserRead | UserWrite | UserExecute | GroupRead | GroupWrite | GroupExecute | OtherRead | OtherExecute); }