0
0
mirror of https://github.com/sp-tarkov/assembly-tool.git synced 2025-02-12 16:50:44 -05:00

Fix bad path causing the config to get wiped

This commit is contained in:
Cj 2024-11-05 16:19:38 -05:00
parent 4ad34ea6ab
commit 53c9685580
2 changed files with 2 additions and 2 deletions

View File

@ -25,6 +25,7 @@ public class ReMap : ICommand
public ValueTask ExecuteAsync(IConsole console)
{
DataProvider.IsCli = true;
DataProvider.LoadAppSettings();
DataProvider.Settings.Remapper.MappingPath = MappingJsonPath;

View File

@ -51,7 +51,6 @@ public static class Logger
LogInternal(messageToLog);
_heldMessages.Remove(heldMessagesKP.Key);
}
}
}
@ -84,7 +83,7 @@ public static class Logger
}
private const string _defaultFileName = "ReCodeIt.log";
private static string _logPath => Path.Combine(AppContext.BaseDirectory, "Data", "Settings.jsonc");
private static string _logPath => Path.Combine(AppContext.BaseDirectory, "Data", "ReCodeIt.log");
public static void ClearLog()
{
if (File.Exists(_logPath))