mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-04-06 23:03:59 +00:00
Improve validation
This commit is contained in:
parent
c0c35595c6
commit
c7bf998a7d
4 changed files with 16 additions and 17 deletions
|
|
@ -10,7 +10,20 @@ namespace FanControl
|
|||
internal class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
{
|
||||
if (!Vlv0100.IsSupported())
|
||||
{
|
||||
String message = "";
|
||||
message += "Current device is not supported.\n";
|
||||
message += "FirmwareVersion: " + Vlv0100.GetFirmwareVersion().ToString("X") + "\n";
|
||||
message += "BoardID: " + Vlv0100.GetBoardID().ToString("X") + "\n";
|
||||
message += "PDCS: " + Vlv0100.GetPDCS().ToString("X") + "\n";
|
||||
|
||||
String title = "Steam Deck Fan Control v" + Application.ProductVersion.ToString();
|
||||
MessageBox.Show(message, title, MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
return;
|
||||
}
|
||||
|
||||
Application.Run(new FanControlForm());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue