mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Updates tweak
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
using GHelper.UI;
|
using GHelper.UI;
|
||||||
|
using Ryzen;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Management;
|
using System.Management;
|
||||||
using System.Net;
|
using System.Net;
|
||||||
@@ -60,14 +61,16 @@ namespace GHelper
|
|||||||
ClearTable(tableBios);
|
ClearTable(tableBios);
|
||||||
ClearTable(tableDrivers);
|
ClearTable(tableDrivers);
|
||||||
|
|
||||||
|
var cpu = RyzenControl.IsAMD() ? "A" : "I";
|
||||||
|
|
||||||
Task.Run(async () =>
|
Task.Run(async () =>
|
||||||
{
|
{
|
||||||
DriversAsync($"https://rog.asus.com/support/webapi/product/GetPDBIOS?website=global&model={model}&cpu={model}", 1, tableBios);
|
DriversAsync($"https://rog.asus.com/support/webapi/product/GetPDBIOS?website=global&model={model}&cpu={cpu}", 1, tableBios);
|
||||||
});
|
});
|
||||||
|
|
||||||
Task.Run(async () =>
|
Task.Run(async () =>
|
||||||
{
|
{
|
||||||
DriversAsync($"https://rog.asus.com/support/webapi/product/GetPDDrivers?website=global&model={model}&cpu={model}&osid=52", 0, tableDrivers);
|
DriversAsync($"https://rog.asus.com/support/webapi/product/GetPDDrivers?website=global&model={model}&cpu={cpu}&osid=52", 0, tableDrivers);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user