Fix build errors

This commit is contained in:
Cj 2024-06-14 18:09:31 -04:00
parent ce44344247
commit d0674235ff
3 changed files with 5 additions and 7 deletions

View File

@ -18,10 +18,8 @@ public class AppSettings
public string AssemblyPath { get; set; } = string.Empty; public string AssemblyPath { get; set; } = string.Empty;
public string OutputPath { get; set; } = string.Empty; public string OutputPath { get; set; } = string.Empty;
public string MappingPath { get; set; } = string.Empty; public string MappingPath { get; set; } = string.Empty;
public bool RenameFields { get; set; } = true; public bool RenameFields { get; set; } = true;
public bool RenameProperties { get; set; } = true; public bool RenameProperties { get; set; } = true;
public bool Publicize { get; set; } = false; public bool Publicize { get; set; } = false;
public bool Unseal { get; set; } = false; public bool Unseal { get; set; } = false;
} }

View File

@ -37,12 +37,12 @@ public class Remapper
ChooseBestMatches(); ChooseBestMatches();
// Dont publicize and unseal until after the remapping so we can use those as search parameters // Dont publicize and unseal until after the remapping so we can use those as search parameters
if (!DataProvider.Settings.Remapper.Publicize) if (!DataProvider.Settings.AppSettings.Publicize)
{ {
Publicizer.Publicize(); Publicizer.Publicize();
} }
if (!DataProvider.Settings.Remapper.Unseal) if (!DataProvider.Settings.AppSettings.Unseal)
{ {
Publicizer.Unseal(); Publicizer.Unseal();
} }
@ -59,8 +59,8 @@ public class Remapper
Logger.Log("-----------------------------------------------", ConsoleColor.Yellow); Logger.Log("-----------------------------------------------", ConsoleColor.Yellow);
Logger.Log($"Starting remap...", ConsoleColor.Yellow); Logger.Log($"Starting remap...", ConsoleColor.Yellow);
Logger.Log($"Module contains {DataProvider.ModuleDefinition.Types.Count} Types", ConsoleColor.Yellow); Logger.Log($"Module contains {DataProvider.ModuleDefinition.Types.Count} Types", ConsoleColor.Yellow);
Logger.Log($"Publicize: {DataProvider.Settings.Remapper.Publicize}", ConsoleColor.Yellow); Logger.Log($"Publicize: {DataProvider.Settings.AppSettings.Publicize}", ConsoleColor.Yellow);
Logger.Log($"Unseal: {DataProvider.Settings.Remapper.Unseal}", ConsoleColor.Yellow); Logger.Log($"Unseal: {DataProvider.Settings.AppSettings.Unseal}", ConsoleColor.Yellow);
Logger.Log("-----------------------------------------------", ConsoleColor.Yellow); Logger.Log("-----------------------------------------------", ConsoleColor.Yellow);
} }

View File

@ -2,7 +2,7 @@
namespace AssemblyRemapperGUI; namespace AssemblyRemapperGUI;
internal partial class AssemblyToolGUI public partial class AssemblyToolGUI
{ {
#region SETTINGS_BUTTONS #region SETTINGS_BUTTONS