Refactor SystemInfo and implement macOS system info backend (#1177)
This commit is contained in:
parent
4c54f36c38
commit
651a07c6c2
6 changed files with 187 additions and 45 deletions
|
@ -1,6 +1,6 @@
|
|||
using Gtk;
|
||||
using Ryujinx.Common;
|
||||
using Ryujinx.Common.Logging;
|
||||
using Ryujinx.Common.SystemInfo;
|
||||
using Ryujinx.Configuration;
|
||||
using Ryujinx.Debugger.Profiler;
|
||||
using Ryujinx.Ui;
|
||||
|
@ -45,9 +45,9 @@ namespace Ryujinx
|
|||
|
||||
Logger.PrintInfo(LogClass.Application, $"Ryujinx Version: {Version}");
|
||||
|
||||
Logger.PrintInfo(LogClass.Application, $"Operating System: {SystemInfo.OsDescription}");
|
||||
Logger.PrintInfo(LogClass.Application, $"CPU: {SystemInfo.CpuName}");
|
||||
Logger.PrintInfo(LogClass.Application, $"Total RAM: {SystemInfo.RamSize}");
|
||||
Logger.PrintInfo(LogClass.Application, $"Operating System: {SystemInfo.Instance.OsDescription}");
|
||||
Logger.PrintInfo(LogClass.Application, $"CPU: {SystemInfo.Instance.CpuName}");
|
||||
Logger.PrintInfo(LogClass.Application, $"Total RAM: {SystemInfo.Instance.RamSizeInMB}");
|
||||
|
||||
string localConfigurationPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Config.json");
|
||||
string globalBasePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "Ryujinx");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue