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:
parent
4ad34ea6ab
commit
53c9685580
@ -25,6 +25,7 @@ public class ReMap : ICommand
|
||||
|
||||
public ValueTask ExecuteAsync(IConsole console)
|
||||
{
|
||||
DataProvider.IsCli = true;
|
||||
DataProvider.LoadAppSettings();
|
||||
DataProvider.Settings.Remapper.MappingPath = MappingJsonPath;
|
||||
|
||||
|
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user