From 4ff41502fb4ca8c860d3da24ab3956e58d4e72c3 Mon Sep 17 00:00:00 2001 From: GMatrixGames Date: Fri, 6 Dec 2024 20:39:29 -0500 Subject: [PATCH] Update for MR S0 --- CUE4Parse | 2 +- FModel/App.xaml.cs | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) 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