From 55b19f6976ceae4e111475a5e5874209cf459835 Mon Sep 17 00:00:00 2001 From: Chenx221 Date: Thu, 1 Aug 2024 14:39:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81cbz=E7=9A=84=20.webp=20?= =?UTF-8?q?=E5=9B=BE=E5=83=8F=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Comic_CBZ_Helper/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Comic_CBZ_Helper/Program.cs b/Comic_CBZ_Helper/Program.cs index 40dbcb6..6bace53 100644 --- a/Comic_CBZ_Helper/Program.cs +++ b/Comic_CBZ_Helper/Program.cs @@ -96,14 +96,14 @@ namespace ConsoleApp1 // 确保漫画文件夹中包含图像文件 string[] imageFiles = Directory.GetFiles(comicFolder, "*.*", SearchOption.AllDirectories) - .Where(file => file.ToLower().EndsWith(".jpg") || file.ToLower().EndsWith(".png")) + .Where(file => file.ToLower().EndsWith(".jpg") || file.ToLower().EndsWith(".png") || file.ToLower().EndsWith(".webp")) .ToArray(); if (imageFiles.Length == 0) { lock (consoleLock) { - Console.WriteLine($"在漫画文件夹 {comicFolder} 中未找到任何图像文件 (.jpg or .png)。"); + Console.WriteLine($"在漫画文件夹 {comicFolder} 中未找到任何图像文件 (.jpg , .png or .webp)。"); } return; // 继续处理下一个漫画文件夹 }