mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-08-03 07:57:11 +02:00
add helper for checking bionic
This commit is contained in:
parent
2479c485e0
commit
797a1460b3
12 changed files with 44 additions and 31 deletions
|
@ -9,6 +9,7 @@ namespace Ryujinx.Ui.Common.SystemInfo
|
|||
{
|
||||
public class SystemInfo
|
||||
{
|
||||
public static bool IsBionic { get; set; }
|
||||
public string OsDescription { get; protected set; }
|
||||
public string CpuName { get; protected set; }
|
||||
public ulong RamTotal { get; protected set; }
|
||||
|
@ -75,5 +76,10 @@ namespace Ryujinx.Ui.Common.SystemInfo
|
|||
|
||||
return string.IsNullOrEmpty(name) ? null : name;
|
||||
}
|
||||
|
||||
public static bool IsAndroid()
|
||||
{
|
||||
return OperatingSystem.IsAndroid() || IsBionic;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue