Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kykc committed May 4, 2017
1 parent 72dbf2d commit 236a0d7
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions MsiFanControl/Modes/FanAdvancedControlMode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public static void applyProfile(bool isCPU, int value0, int value1, int value2,
{
managementObjectSearcher = new ManagementObjectSearcher("root\\WMI", "SELECT * FROM MSI_CPU");
}

try
{
//int arg_3F_0 = (100 + this.fanCPU_Value) / 100;
Expand Down
13 changes: 13 additions & 0 deletions MsiFanControl/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,18 @@ public static void Help(string help)

Console.WriteLine("done");
}

[Verb]
public static void Install(
[DefaultValue(false)]
[Aliases("y")]
bool yes)
{
// TODO: installation routine:
// 0. Convirmation text and prompt if no --yes flag
// 1. Copy compiled MOF definitions to SysWOW64
// 2. Add MsiWmiAcpiMof.reg to registry
// 3. Output text of success/failure and advice to restart PC
}
}
}
Binary file added MsiWmiAcpiMof.reg
Binary file not shown.

0 comments on commit 236a0d7

Please sign in to comment.