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

@@ -87,7 +87,7 @@ namespace Artemis.Core.DeviceProviders
/// <returns>The resulting Artemis layout</returns>
public virtual ArtemisLayout LoadUserLayout(ArtemisDevice device)
{
string layoutDir = Path.Combine(Constants.DataFolder, "user layouts");
string layoutDir = Constants.LayoutsFolder;
string filePath = Path.Combine(
layoutDir,
device.RgbDevice.DeviceInfo.Manufacturer,