Added event to intercept the creation of absolute paths

This commit is contained in:
DarthAffe committed 2019-08-18 17:58:03 +02:00
1 parent ac11f0654c
commit fe8adbd849
30 files changed
+155 -37

No files matched your search

@@ -34,7 +34,7 @@ namespace RGB.NET.Devices.Asus
InitializeLed(LedId.Mainboard1 + i, new Rectangle(i * 40, 0, 40, 8));
//TODO DarthAffe 07.10.2017: We don't know the model, how to save layouts and images?
ApplyLayoutFromFile(PathHelper.GetAbsolutePath($@"Layouts\Asus\Mainboards\{DeviceInfo.Model.Replace(" ", string.Empty).ToUpper()}.xml"), null);
ApplyLayoutFromFile(PathHelper.GetAbsolutePath(this, @"Layouts\Asus\Mainboards", $"{DeviceInfo.Model.Replace(" ", string.Empty).ToUpper()}.xml"), null);
}
/// <inheritdoc />