From 22dc663012e9b016e0355f1d1a1d5de5f934b29e Mon Sep 17 00:00:00 2001 From: Cj <161484149+CJ-SPT@users.noreply.github.com> Date: Sun, 23 Jun 2024 03:30:33 -0400 Subject: [PATCH] Fix null ref exception --- RecodeItLib/Utils/DataProvider.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RecodeItLib/Utils/DataProvider.cs b/RecodeItLib/Utils/DataProvider.cs index f18600a..1670893 100644 --- a/RecodeItLib/Utils/DataProvider.cs +++ b/RecodeItLib/Utils/DataProvider.cs @@ -20,7 +20,7 @@ public static class DataProvider /// public static bool IsCli { get; set; } = false; - public static string DataPath => RegistryHelper.GetRegistryValue("DataPath") ?? Path.Combine(AppContext.BaseDirectory, "Data"); + public static string DataPath => Path.Combine(AppContext.BaseDirectory, "Data"); public static readonly string ReCodeItProjectsPath = Path.Combine(AppContext.BaseDirectory, "Projects");