This commit is contained in:
Serge
2023-06-25 13:58:17 +02:00
parent e1acea9ad9
commit 164d417b06
392 changed files with 427 additions and 41209 deletions

View File

@@ -1,3 +1,4 @@
using GHelper.Mode;
using Microsoft.Win32;
using Ryzen;
using System.Diagnostics;
@@ -20,6 +21,7 @@ namespace GHelper
public static AsusACPI? acpi;
public static SettingsForm settingsForm = new SettingsForm();
public static ModeControl modeControl = new ModeControl();
public static IntPtr unRegPowerNotify;
@@ -151,7 +153,7 @@ namespace GHelper
inputDispatcher.Init();
settingsForm.SetBatteryChargeLimit(AppConfig.Get("charge_limit"));
settingsForm.AutoPerformance(powerChanged);
modeControl.AutoPerformance(powerChanged);
bool switched = settingsForm.AutoGPUMode();
@@ -212,7 +214,7 @@ namespace GHelper
case "uv":
Startup.ReScheduleAdmin();
settingsForm.FansToggle(2);
settingsForm.SetUV();
//settingsForm.SetUV(); TODO
break;
}
}