This commit is contained in:
2022-05-15 10:53:29 +03:00
parent 57b7631fca
commit 0a77abb854
9 changed files with 41 additions and 26 deletions

View File

@@ -162,7 +162,7 @@ namespace PluginManager.Others
/// Get the Operating system you are runnin on
/// </summary>
/// <returns>An Operating system</returns>
public static OperatingSystem GetOperatinSystem()
public static OperatingSystem GetOperatingSystem()
{
if (System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform(System.Runtime.InteropServices.OSPlatform.Windows)) return OperatingSystem.WINDOWS;
if (System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform(System.Runtime.InteropServices.OSPlatform.Linux)) return OperatingSystem.LINUX;