mirror of
https://github.com/ckaczor/SystemTemperatureStatusWindow.git
synced 2026-01-14 01:25:42 -05:00
Change from service to application so GPU temperature works
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using OpenHardwareMonitor.Hardware;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Windows;
|
||||
|
||||
namespace SystemTemperatureService
|
||||
{
|
||||
@@ -56,5 +57,10 @@ namespace SystemTemperatureService
|
||||
|
||||
return deviceList;
|
||||
}
|
||||
|
||||
public void Shutdown()
|
||||
{
|
||||
Program.MainDispatcher.Invoke(Application.Current.Shutdown);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user