diff --git a/CUE4Parse b/CUE4Parse index 42164749..2f008b99 160000 --- a/CUE4Parse +++ b/CUE4Parse @@ -1 +1 @@ -Subproject commit 4216474985c6618732bd07e47e115de742f716f3 +Subproject commit 2f008b998c584933faa9955a5fdff5db98a644e0 diff --git a/FModel/App.xaml.cs b/FModel/App.xaml.cs index 46602ad0..1e6233c3 100644 --- a/FModel/App.xaml.cs +++ b/FModel/App.xaml.cs @@ -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; } -} +} \ No newline at end of file