mirror of
https://github.com/sp-tarkov/assembly-tool.git
synced 2025-02-13 06:10:46 -05:00
rename remapper class
This commit is contained in:
parent
e7994691ee
commit
735e9a4a36
@ -9,7 +9,7 @@ namespace ReCodeItCLI.Commands;
|
|||||||
[Command("ReMap", Description = "Generates a re-mapped dll provided a mapping file and de-obfuscated dll")]
|
[Command("ReMap", Description = "Generates a re-mapped dll provided a mapping file and de-obfuscated dll")]
|
||||||
public class ReMap : ICommand
|
public class ReMap : ICommand
|
||||||
{
|
{
|
||||||
private ReCodeItRemapper _remapper { get; set; } = new();
|
private ReMapper _remapper { get; set; } = new();
|
||||||
|
|
||||||
[CommandParameter(0, IsRequired = true, Description = "The absolute path to your mapping.json file, supports .json and .jsonc")]
|
[CommandParameter(0, IsRequired = true, Description = "The absolute path to your mapping.json file, supports .json and .jsonc")]
|
||||||
public required string MappingJsonPath { get; init; }
|
public required string MappingJsonPath { get; init; }
|
||||||
|
@ -7,7 +7,7 @@ namespace ReCodeIt.GUI;
|
|||||||
|
|
||||||
public partial class ReCodeItForm : Form
|
public partial class ReCodeItForm : Form
|
||||||
{
|
{
|
||||||
private static ReCodeItRemapper Remapper { get; set; } = new();
|
private static ReMapper Remapper { get; set; } = new();
|
||||||
private static Settings AppSettings => DataProvider.Settings;
|
private static Settings AppSettings => DataProvider.Settings;
|
||||||
|
|
||||||
private bool _isSearched = false;
|
private bool _isSearched = false;
|
||||||
@ -349,7 +349,7 @@ public partial class ReCodeItForm : Form
|
|||||||
|
|
||||||
private void RunRemapButton_Click(object sender, EventArgs e)
|
private void RunRemapButton_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if (ReCodeItRemapper.IsRunning) { return; }
|
if (ReMapper.IsRunning) { return; }
|
||||||
|
|
||||||
if (string.IsNullOrEmpty(AppSettings.Remapper.AssemblyPath))
|
if (string.IsNullOrEmpty(AppSettings.Remapper.AssemblyPath))
|
||||||
{
|
{
|
||||||
|
@ -9,7 +9,7 @@ using System.Reflection;
|
|||||||
|
|
||||||
namespace ReCodeItLib.ReMapper;
|
namespace ReCodeItLib.ReMapper;
|
||||||
|
|
||||||
public class ReCodeItRemapper
|
public class ReMapper
|
||||||
{
|
{
|
||||||
private ModuleDefMD? Module { get; set; }
|
private ModuleDefMD? Module { get; set; }
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user