From 8b8caacbc83489334560e92ce464300fad57dff5 Mon Sep 17 00:00:00 2001 From: Matt Pannella Date: Sat, 27 Jul 2024 14:40:38 -0400 Subject: [PATCH] create jtpatreon directory if it doesnt exist (#316) * i'm an idiot * version bump --- pupdate.csproj | 2 +- src/services/AnalogizerSettingsService.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pupdate.csproj b/pupdate.csproj index 3f3492f..ec4d3f3 100644 --- a/pupdate.csproj +++ b/pupdate.csproj @@ -6,7 +6,7 @@ net7.0 enable disable - 3.11.0 + 3.11.1 Keep your Analogue Pocket up to date 2024 Matt Pannella Matt Pannella diff --git a/src/services/AnalogizerSettingsService.cs b/src/services/AnalogizerSettingsService.cs index 344ddeb..caffc72 100644 --- a/src/services/AnalogizerSettingsService.cs +++ b/src/services/AnalogizerSettingsService.cs @@ -191,7 +191,7 @@ public void RunAnalogizerSettings() if (File.Exists(filepath)) { string jtpatreon = Path.Combine(ServiceHelper.UpdateDirectory, "Assets", "jtpatreon", "common"); - if (Directory.Exists(jtpatreon)) + if (!Directory.Exists(jtpatreon)) { Directory.CreateDirectory(jtpatreon); }