mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Added AutoTDP feature with RTSS source and Intel + ASUS power limiters
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using GHelper.Ally;
|
||||
using GHelper.AutoTDP;
|
||||
using GHelper.Battery;
|
||||
using GHelper.Display;
|
||||
using GHelper.Gpu;
|
||||
@@ -46,6 +47,8 @@ namespace GHelper
|
||||
|
||||
private static PowerLineStatus isPlugged = SystemInformation.PowerStatus.PowerLineStatus;
|
||||
|
||||
public static AutoTDPService autoTDPService = new AutoTDPService();
|
||||
|
||||
// The main entry point for the application
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
@@ -306,6 +309,7 @@ namespace GHelper
|
||||
|
||||
static void OnExit(object sender, EventArgs e)
|
||||
{
|
||||
autoTDPService.Shutdown();
|
||||
trayIcon.Visible = false;
|
||||
PeripheralsProvider.UnregisterForDeviceEvents();
|
||||
clamshellControl.UnregisterDisplayEvents();
|
||||
|
||||
Reference in New Issue
Block a user