调整结构
This commit is contained in:
parent
20f3709ac9
commit
e33e985031
@ -1,16 +1,5 @@
|
||||
using BangumiRenamer.Utils;
|
||||
|
||||
class Program
|
||||
class Program
|
||||
{
|
||||
public static void PrintResNames()
|
||||
{
|
||||
var names = ResourceLoader.GetAllResNames();
|
||||
foreach (var name in names)
|
||||
{
|
||||
Console.WriteLine(name);
|
||||
}
|
||||
}
|
||||
|
||||
static void Main()
|
||||
{
|
||||
|
||||
|
||||
15
Src/Tools/EmbededResourceViewer.cs
Normal file
15
Src/Tools/EmbededResourceViewer.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using BangumiRenamer.Utils;
|
||||
|
||||
namespace BangumiRenamer.Tools;
|
||||
|
||||
public class EmbededResourceViewer
|
||||
{
|
||||
public static void PrintResourceNames()
|
||||
{
|
||||
var names = ResourceLoader.GetAllResNames();
|
||||
foreach (var name in names)
|
||||
{
|
||||
Console.WriteLine(name);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -13,7 +13,7 @@ public static class FolderCloner
|
||||
|
||||
result = Dialog.FolderPicker();
|
||||
if (!result.IsOk) return;
|
||||
var dest = Path.Combine(result.Path, Path.GetFileNameWithoutExtension(source));
|
||||
var dest = Path.Combine(result.Path, Path.GetFileNameWithoutExtension(source.Replace("\\\\", "")));
|
||||
|
||||
var finalDest = dest;
|
||||
int suffix = 1;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user