Update ua

This commit is contained in:
parhelia512 2025-09-26 03:06:43 +08:00 committed by GitHub
parent ff5cd74706
commit e615045a92
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -327,8 +327,8 @@ namespace Configs {
} }
if (isDefault) { if (isDefault) {
QString version = SubStrBefore(NKR_VERSION, "-"); QString version = SubStrBefore(NKR_VERSION, "-");
if (!version.contains(".")) version = "2.0"; if (!version.contains(".")) version = "1.0.0";
return "Throne" + version + " (Prefer ClashMeta Format)"; return "Throne/" + version + " (Prefer ClashMeta Format)";
} }
return user_agent; return user_agent;
} }