BangumiRenamer/Src/Tools/EmbededResourceViewer.cs
2025-11-08 20:04:11 +08:00

23 lines
533 B
C#

using BangumiRenamer.Utils;
namespace BangumiRenamer.Tools;
public class EmbededResourceViewer
{
private static readonly Lazy<Log> _lazy = new (() =>
{
var log = new Log(new Log.LogConfig());
if (!log.Init()) return null;
return log;
});
static ILog Log => _lazy.Value;
public static void PrintResourceNames()
{
var names = ResourceLoader.GetAllResNames();
foreach (var name in names)
{
Log.Info(name);
}
}
}