Skip to content

Commit

Permalink
Another attempt to fix icon sizing
Browse files Browse the repository at this point in the history
  • Loading branch information
seerge committed Feb 18, 2023
1 parent 023d738 commit 4bbd5da
Show file tree
Hide file tree
Showing 4 changed files with 125 additions and 102 deletions.
1 change: 1 addition & 0 deletions GHelper.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="LibreHardwareMonitorLib" Version="0.9.1" />
<PackageReference Include="System.Management" Version="7.0.0" />
<PackageReference Include="TaskScheduler" Version="2.10.1" />
</ItemGroup>
Expand Down
10 changes: 3 additions & 7 deletions Program.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
using Microsoft.Win32.TaskScheduler;
using System;
using System.Diagnostics;
using System.Management;
using System.Runtime.InteropServices;

using System.Text.Json;
using static System.Windows.Forms.VisualStyles.VisualStyleElement;

using System.Text.RegularExpressions;
using System.Drawing;

public class ASUSWmi
{
Expand Down Expand Up @@ -219,7 +214,8 @@ public void setConfig(string name, int value)
}


public class PowerPlan {
public class PowerPlan
{
static void RunCommands(List<string> cmds, string workingDirectory = "")
{
var process = new Process();
Expand Down Expand Up @@ -456,7 +452,7 @@ public static int GetCPUBoost()
GUID_BOOST, out AcValueIndex);

return AcValueIndex.ToInt32();

}

public static void SetCPUBoost(int boost = 0)
Expand Down
Loading

0 comments on commit 4bbd5da

Please sign in to comment.