From e342389b757d6abb2fe9d651dceefe960e893b08 Mon Sep 17 00:00:00 2001 From: LukeFZ <17146677+LukeFZ@users.noreply.github.com> Date: Mon, 2 Feb 2026 20:06:55 +0100 Subject: [PATCH] create output directory if it doesn't exist in redux uis --- Il2CppInspector.Redux.FrontendCore/UiContext.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Il2CppInspector.Redux.FrontendCore/UiContext.cs b/Il2CppInspector.Redux.FrontendCore/UiContext.cs index 3e1764a..30e74f8 100644 --- a/Il2CppInspector.Redux.FrontendCore/UiContext.cs +++ b/Il2CppInspector.Redux.FrontendCore/UiContext.cs @@ -211,6 +211,11 @@ public class UiContext { try { + if (!Directory.Exists(outputDirectory)) + { + Directory.CreateDirectory(outputDirectory); + } + var outputFormat = OutputFormatRegistry.GetOutputFormat(formatId); await outputFormat.Export(model, client, outputDirectory, settings); }