From cf142f847d07548333f12a815f6522154392af04 Mon Sep 17 00:00:00 2001 From: Serge <5920850+seerge@users.noreply.github.com> Date: Wed, 22 May 2024 16:54:37 +0200 Subject: [PATCH] Update section tweaks --- app/Updates.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/Updates.cs b/app/Updates.cs index e21d95c3..02679eca 100644 --- a/app/Updates.cs +++ b/app/Updates.cs @@ -60,14 +60,16 @@ namespace GHelper ClearTable(tableBios); ClearTable(tableDrivers); + string rogParam = AppConfig.IsROG() ? "&systemCode=rog" : ""; + 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={model}{rogParam}", 1, tableBios); }); 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={model}&osid=52{rogParam}", 0, tableDrivers); }); }