HaloSPV3 / HCE

HCE & SPV3 projects by Miris 'n' Crew.
https://source.n2.network/hce/
13 stars 0 forks source link

feat: Linux compatibility #249

Closed BinToss closed 2 years ago

BinToss commented 2 years ago

This GitHub Issue has been closed, promoting HaloSPV3/SPV3-Loader#54 to the the top-level issue.


ROAD PLAN

This can go one of two ways...

STOPGAP

Platform-dependent code paths will be determined at runtime. This implies the following:

MS Docs Example: ```cs // This example demonstrates the PlatformID enumeration. using System; class Sample { public static void Main() { string msg1 = "This is a Windows operating system."; string msg2 = "This is a Unix operating system."; string msg3 = "ERROR: This platform identifier is invalid."; // Assume this example is run on a Windows operating system. OperatingSystem os = Environment.OSVersion; PlatformID pid = os.Platform; switch (pid) { case PlatformID.Win32NT: case PlatformID.Win32S: case PlatformID.Win32Windows: case PlatformID.WinCE: Console.WriteLine(msg1); break; case PlatformID.Unix: Console.WriteLine(msg2); break; default: Console.WriteLine(msg3); break; } } } /* This example produces the following results: This is a Windows operating system. */ ```

REWORK