From 6e9cc51a5f25ceb38c8666ad9e4b9ca3cba42b9b Mon Sep 17 00:00:00 2001 From: Serge <5920850+seerge@users.noreply.github.com> Date: Mon, 19 Jun 2023 13:53:07 +0200 Subject: [PATCH] G15 Advantage Edition TDP --- app/AsusACPI.cs | 3 +-- app/GHelper.csproj | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/AsusACPI.cs b/app/AsusACPI.cs index cff2c73c..e029452f 100644 --- a/app/AsusACPI.cs +++ b/app/AsusACPI.cs @@ -106,8 +106,7 @@ public class AsusACPI public const int GPUModeStandard = 1; public const int GPUModeUltimate = 2; - - public const int MaxTotal = 150; + public static int MaxTotal => AppConfig.ContainsModel("G513QY") ? 250 : 150; public const int MinTotal = 5; public const int DefaultTotal = 125; diff --git a/app/GHelper.csproj b/app/GHelper.csproj index 0e2a18a9..ce248f1d 100644 --- a/app/GHelper.csproj +++ b/app/GHelper.csproj @@ -16,7 +16,7 @@ AnyCPU False True - 0.88 + 0.89