Merge remote-tracking branch 'origin/feature/avalonia' into feature/avalonia

This commit is contained in:
Robert committed 2021-12-04 12:02:24 +01:00
commit 55337fe120
6 files changed
+168 -10

No files matched your search

+6 -1
View File
@@ -24,10 +24,15 @@ namespace Artemis.Core
/// </summary>
public static readonly string ExecutablePath = Utilities.GetCurrentLocation();
/// <summary>
/// The base path for Artemis application data folder
/// </summary>
public static readonly string BaseFolder = Environment.GetFolderPath(OperatingSystem.IsWindows() ? Environment.SpecialFolder.ApplicationData : Environment.SpecialFolder.LocalApplicationData);
/// <summary>
/// The full path to the Artemis data folder
/// </summary>
public static readonly string DataFolder = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData), "Artemis");
public static readonly string DataFolder = Path.Combine(BaseFolder, "Artemis");
/// <summary>
/// The full path to the Artemis logs folder