This commit is contained in:
Chenx221 2024-11-01 18:10:50 +08:00
parent 9160ba7505
commit 6e5f3e5fdc
Signed by: chenx221
GPG Key ID: D7A9EC07024C3021

View File

@ -95,8 +95,8 @@ namespace ArtemisFgTools
{ {
string size = Path.GetFileName(sizeDir); string size = Path.GetFileName(sizeDir);
string[] files = Directory.GetFiles(sizeDir, "*.png"); string[] files = Directory.GetFiles(sizeDir, "*.png");
Dictionary<string, List<string>> baseFiles = new Dictionary<string, List<string>>(); Dictionary<string, List<string>> baseFiles = [];
Dictionary<string, List<string>> faceFiles = new Dictionary<string, List<string>>(); Dictionary<string, List<string>> faceFiles = [];
foreach (string file in files) foreach (string file in files)
{ {
string fileName = Path.GetFileNameWithoutExtension(file); string fileName = Path.GetFileNameWithoutExtension(file);