mirror of
https://github.com/4sval/FModel.git
synced 2026-03-22 01:34:37 -05:00
Update for MR S0
This commit is contained in:
parent
0f6c806d39
commit
4ff41502fb
|
|
@ -1 +1 @@
|
|||
Subproject commit 4216474985c6618732bd07e47e115de742f716f3
|
||||
Subproject commit 2f008b998c584933faa9955a5fdff5db98a644e0
|
||||
|
|
@ -7,6 +7,7 @@ using System.IO;
|
|||
using System.Runtime.InteropServices;
|
||||
using System.Windows;
|
||||
using System.Windows.Threading;
|
||||
using CUE4Parse;
|
||||
using FModel.Framework;
|
||||
using FModel.Services;
|
||||
using FModel.Settings;
|
||||
|
|
@ -103,6 +104,8 @@ public partial class App
|
|||
Directory.CreateDirectory(Path.Combine(UserSettings.Default.OutputDirectory, "Logs"));
|
||||
Directory.CreateDirectory(Path.Combine(UserSettings.Default.OutputDirectory, ".data"));
|
||||
|
||||
Globals.FModelDataFolder = Path.Combine(UserSettings.Default.OutputDirectory, ".data");
|
||||
|
||||
#if DEBUG
|
||||
Log.Logger = new LoggerConfiguration().WriteTo.Console(theme: AnsiConsoleTheme.Literate).WriteTo.File(
|
||||
Path.Combine(UserSettings.Default.OutputDirectory, "Logs", $"FModel-Debug-Log-{DateTime.Now:yyyy-MM-dd}.txt"),
|
||||
|
|
@ -182,4 +185,4 @@ public partial class App
|
|||
return rk.GetValue(name, null) as string;
|
||||
return string.Empty;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user