Added ApplyProfile exceptions and StartPrograms

This commit is contained in:
Terry MacDonald
2020-10-13 20:22:42 +13:00
parent 12e3229f9d
commit 07d1c040cb
2 changed files with 14 additions and 10 deletions

View File

@ -310,6 +310,7 @@ namespace HeliosPlus {
if (!ProfileRepository.ApplyNVIDIAGridTopology(profile))
{
// Somehow return that this profile topology didn't apply
throw new ApplyTopologyException("Program/ApplyProfile: ApplyNVIDIAGridTopology: Error setting up the NVIDIA Surround Grid Topology");
}
});
@ -318,6 +319,7 @@ namespace HeliosPlus {
if (!ProfileRepository.ApplyWindowsDisplayPathInfo(profile))
{
// Somehow return that this profile path info didn't apply
throw new ApplyPathInfoException("Program/ApplyProfile: ApplyWindowsDisplayPathInfo: Error configuring the Windows Display Devices");
}
});