Add IsNonWindows instead of IsLinux or IsOSX

This commit is contained in:
2dust
2024-12-19 11:24:52 +08:00
parent 4f48e8b190
commit abb58379b3
5 changed files with 8 additions and 6 deletions

View File

@@ -215,7 +215,7 @@ namespace v2rayN.Desktop.Views
{
return lstFonts;
}
else if (Utils.IsLinux() || Utils.IsOSX())
else if (Utils.IsNonWindows())
{
var result = await Utils.GetLinuxFontFamily("zh");
if (result.IsNullOrEmpty())