From 058ece23f6a01512785eb9316c40bb8cc629438c Mon Sep 17 00:00:00 2001 From: ipz233_vvv Date: Wed, 15 Jan 2025 14:32:50 +0200 Subject: [PATCH] syntax fix --- RenameTemplate.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/RenameTemplate.cs b/RenameTemplate.cs index 9f7a475..5d27788 100644 --- a/RenameTemplate.cs +++ b/RenameTemplate.cs @@ -1,5 +1,4 @@ - -public static List FindAllFiles(string directoryPath) +List FindAllFiles(string directoryPath) { return Directory.GetFiles(directoryPath, "*.*", SearchOption.AllDirectories) .Select(file => Path.GetRelativePath(directoryPath, file)) @@ -13,7 +12,7 @@ var replacements = new[] new { Old = "template", New = "coolmod" }, //change modid new { Old = "Template", New = "Cool Mod" }, //change mod display name // ↕ <- Letter L is different case here - new { Old = "TempLate", New = "CoolMod" } //change mod init class and other places where mod name is in PascalCase + new { Old = "TempLate", New = "CoolMod" }, //change mod init class and other places where mod name is in PascalCase new { Old = "AuthorExample", New = "CoolDev" } };