Create CoverImageCache when saving coverimages.
This commit is contained in:
parent
6db4646336
commit
1dcfecd66f
@ -299,6 +299,7 @@ public abstract class MangaConnector : GlobalBase
|
||||
RequestResult coverResult = downloadClient.MakeRequest(url, requestType);
|
||||
using MemoryStream ms = new();
|
||||
coverResult.result.CopyTo(ms);
|
||||
Directory.CreateDirectory(settings.coverImageCache);
|
||||
File.WriteAllBytes(saveImagePath, ms.ToArray());
|
||||
Log($"Saving cover to {saveImagePath}");
|
||||
return saveImagePath;
|
||||
|
Loading…
Reference in New Issue
Block a user