Core - Replaced plugin folder mentions with a constant

Added linux support for opening a folder

Should also fix some case sensitive inconsistencies
This commit is contained in:
Diogo Trindade committed 2021-11-08 21:52:10 +00:00
1 parent 41171a5ade
commit 56f5b91f11
9 files changed
+32 -13

No files matched your search

+15
View File
@@ -28,6 +28,21 @@ namespace Artemis.Core
/// The full path to the Artemis data folder
/// </summary>
public static readonly string DataFolder = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData), "Artemis");
/// <summary>
/// The full path to the Artemis logs folder
/// </summary>
public static readonly string LogsFolder = Path.Combine(DataFolder, "Logs");
/// <summary>
/// The full path to the Artemis plugins folder
/// </summary>
public static readonly string PluginsFolder = Path.Combine(DataFolder, "Plugins");
/// <summary>
/// The full path to the Artemis user layouts folder
/// </summary>
public static readonly string LayoutsFolder = Path.Combine(DataFolder, "User Layouts");
/// <summary>
/// The plugin info used by core components of Artemis