Skip to content

Commit 2e0eec9

Browse files
committed
Return patcher naming
1 parent 171b3e9 commit 2e0eec9

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

DemoProject/Assets/Hash's_Things/EditDistributor/Editor/EditDistributorBuilder.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ void OnGUI()
136136
{
137137
if (!string.IsNullOrEmpty(DistributionNameOverwriteText))
138138
{
139-
patcherFolder = Path.Combine(CommunFonctions.GoUpNDirs(CustomfbxPath, 3), DistributionNameOverwriteText, "patcher");
139+
patcherFolder = Path.Combine(CommunFonctions.GoUpNDirs(CustomfbxPath, 3), DistributionNameOverwriteText, "Patcher");
140140
PatcherScriptDestDir = Path.Combine(CommunFonctions.GoUpNDirs(outputDirectory, 2), "Editor", DistributionNameOverwriteText.Replace(" ", "_") + "_Patcher.cs");
141141
}
142142
}
@@ -174,9 +174,9 @@ void OnGUI()
174174
UserEditorWindowName = EditorGUILayout.TextField(new GUIContent("Your Name: ", "Will be used to organize your patchers in the menu bar"), UserEditorWindowName);
175175
if (NameOverwriteTickBox)
176176
{
177-
if (! string.IsNullOrEmpty(DistributionNameOverwriteText)) EditorWindowPath = "Tools/" + UserEditorWindowName + "/" + DistributionNameOverwriteText + " Patch";
177+
if (! string.IsNullOrEmpty(DistributionNameOverwriteText)) EditorWindowPath = "Tools/" + UserEditorWindowName + "/" + DistributionNameOverwriteText + " Patcher";
178178
}
179-
else EditorWindowPath = "Tools/" + UserEditorWindowName + "/" + Path.GetFileNameWithoutExtension(OGfbxPath) + " Patch";
179+
else EditorWindowPath = "Tools/" + UserEditorWindowName + "/" + Path.GetFileNameWithoutExtension(OGfbxPath) + " Patcher";
180180
if (string.IsNullOrEmpty(UserEditorWindowName))
181181
{
182182

@@ -464,7 +464,7 @@ private void BuildPatcher()
464464
UnityEngine.Debug.Log(EditorWindowPath);
465465
CommunFonctions.ReplaceStringsInFile(PatcherScriptDestDir, originalStrings, remplacementStrings);
466466

467-
UnityEngine.Debug.Log("Patcher created");
467+
UnityEngine.Debug.Log("Patcher created yippie :D");
468468
AssetDatabase.Refresh();
469469
}
470470

0 commit comments

Comments
 (0)