mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-03 05:46:26 +02:00
add helper for checking bionic
This commit is contained in:
parent
1835e16045
commit
ad0f9a7fc7
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