Merge pull request #83 from DarthAffe/Core/ResolveAbsolutePathEvent

Added event to intercept the creation of absolute paths
This commit is contained in:
DarthAffe authored and GitHub committed 2019-08-22 20:01:41 +02:00
commit 0f6ec5b56d
30 files changed
+155 -37

No files matched your search

@@ -80,7 +80,7 @@ namespace RGB.NET.Devices.SteelSeries
string layout = info.ImageLayout;
string layoutPath = info.LayoutPath;
ApplyLayoutFromFile(PathHelper.GetAbsolutePath($@"Layouts\SteelSeries\{layoutPath}.xml"), layout, true);
ApplyLayoutFromFile(PathHelper.GetAbsolutePath(this, @"Layouts\SteelSeries", $"{layoutPath}.xml"), layout, true);
}
#endregion