Fix null ref exception
This commit is contained in:
parent
4824006d89
commit
22dc663012
@ -20,7 +20,7 @@ public static class DataProvider
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public static bool IsCli { get; set; } = false;
|
public static bool IsCli { get; set; } = false;
|
||||||
|
|
||||||
public static string DataPath => RegistryHelper.GetRegistryValue<string>("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");
|
public static readonly string ReCodeItProjectsPath = Path.Combine(AppContext.BaseDirectory, "Projects");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user