From 7f376b4f45261d2e77474495e4d2ab16e41e02d6 Mon Sep 17 00:00:00 2001 From: Evan Husted Date: Sun, 29 Dec 2024 18:13:38 -0600 Subject: [PATCH] misc: Move SystemInfo into Avalonia project --- src/Ryujinx/Program.cs | 2 +- .../Utilities}/SystemInfo/LinuxSystemInfo.cs | 2 +- .../Utilities}/SystemInfo/MacOSSystemInfo.cs | 2 +- .../Utilities}/SystemInfo/SystemInfo.cs | 2 +- .../Utilities}/SystemInfo/WindowsSystemInfo.cs | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) rename src/{Ryujinx.UI.Common => Ryujinx/Utilities}/SystemInfo/LinuxSystemInfo.cs (98%) rename src/{Ryujinx.UI.Common => Ryujinx/Utilities}/SystemInfo/MacOSSystemInfo.cs (99%) rename src/{Ryujinx.UI.Common => Ryujinx/Utilities}/SystemInfo/SystemInfo.cs (98%) rename src/{Ryujinx.UI.Common => Ryujinx/Utilities}/SystemInfo/WindowsSystemInfo.cs (98%) diff --git a/src/Ryujinx/Program.cs b/src/Ryujinx/Program.cs index bde08a372..98bbfa2bb 100644 --- a/src/Ryujinx/Program.cs +++ b/src/Ryujinx/Program.cs @@ -8,6 +8,7 @@ using Projektanker.Icons.Avalonia.MaterialDesign; using Ryujinx.Ava.Common.Locale; using Ryujinx.Ava.UI.Helpers; using Ryujinx.Ava.UI.Windows; +using Ryujinx.Ava.Utilities.SystemInfo; using Ryujinx.Common; using Ryujinx.Common.Configuration; using Ryujinx.Common.GraphicsDriver; @@ -20,7 +21,6 @@ using Ryujinx.UI.App.Common; using Ryujinx.UI.Common; using Ryujinx.UI.Common.Configuration; using Ryujinx.UI.Common.Helper; -using Ryujinx.UI.Common.SystemInfo; using System; using System.IO; using System.Linq; diff --git a/src/Ryujinx.UI.Common/SystemInfo/LinuxSystemInfo.cs b/src/Ryujinx/Utilities/SystemInfo/LinuxSystemInfo.cs similarity index 98% rename from src/Ryujinx.UI.Common/SystemInfo/LinuxSystemInfo.cs rename to src/Ryujinx/Utilities/SystemInfo/LinuxSystemInfo.cs index c7fe05a09..6ca38aa36 100644 --- a/src/Ryujinx.UI.Common/SystemInfo/LinuxSystemInfo.cs +++ b/src/Ryujinx/Utilities/SystemInfo/LinuxSystemInfo.cs @@ -5,7 +5,7 @@ using System.Globalization; using System.IO; using System.Runtime.Versioning; -namespace Ryujinx.UI.Common.SystemInfo +namespace Ryujinx.Ava.Utilities.SystemInfo { [SupportedOSPlatform("linux")] class LinuxSystemInfo : SystemInfo diff --git a/src/Ryujinx.UI.Common/SystemInfo/MacOSSystemInfo.cs b/src/Ryujinx/Utilities/SystemInfo/MacOSSystemInfo.cs similarity index 99% rename from src/Ryujinx.UI.Common/SystemInfo/MacOSSystemInfo.cs rename to src/Ryujinx/Utilities/SystemInfo/MacOSSystemInfo.cs index 894c3cadc..6b0beacf8 100644 --- a/src/Ryujinx.UI.Common/SystemInfo/MacOSSystemInfo.cs +++ b/src/Ryujinx/Utilities/SystemInfo/MacOSSystemInfo.cs @@ -5,7 +5,7 @@ using System.Runtime.InteropServices; using System.Runtime.Versioning; using System.Text; -namespace Ryujinx.UI.Common.SystemInfo +namespace Ryujinx.Ava.Utilities.SystemInfo { [SupportedOSPlatform("macos")] partial class MacOSSystemInfo : SystemInfo diff --git a/src/Ryujinx.UI.Common/SystemInfo/SystemInfo.cs b/src/Ryujinx/Utilities/SystemInfo/SystemInfo.cs similarity index 98% rename from src/Ryujinx.UI.Common/SystemInfo/SystemInfo.cs rename to src/Ryujinx/Utilities/SystemInfo/SystemInfo.cs index 2dfa9160d..b7e33d3b4 100644 --- a/src/Ryujinx.UI.Common/SystemInfo/SystemInfo.cs +++ b/src/Ryujinx/Utilities/SystemInfo/SystemInfo.cs @@ -5,7 +5,7 @@ using System.Runtime.InteropServices; using System.Runtime.Intrinsics.X86; using System.Text; -namespace Ryujinx.UI.Common.SystemInfo +namespace Ryujinx.Ava.Utilities.SystemInfo { public class SystemInfo { diff --git a/src/Ryujinx.UI.Common/SystemInfo/WindowsSystemInfo.cs b/src/Ryujinx/Utilities/SystemInfo/WindowsSystemInfo.cs similarity index 98% rename from src/Ryujinx.UI.Common/SystemInfo/WindowsSystemInfo.cs rename to src/Ryujinx/Utilities/SystemInfo/WindowsSystemInfo.cs index 4a2c8795d..73845be11 100644 --- a/src/Ryujinx.UI.Common/SystemInfo/WindowsSystemInfo.cs +++ b/src/Ryujinx/Utilities/SystemInfo/WindowsSystemInfo.cs @@ -4,7 +4,7 @@ using System.Management; using System.Runtime.InteropServices; using System.Runtime.Versioning; -namespace Ryujinx.UI.Common.SystemInfo +namespace Ryujinx.Ava.Utilities.SystemInfo { [SupportedOSPlatform("windows")] partial class WindowsSystemInfo : SystemInfo