Linux - Fixed native skia, implemented AppStateManager

This commit is contained in:
Diogo Trindade committed 2021-11-29 12:27:02 -08:00
1 parent 4c5c785aa6
commit f4796945b4
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