Merge pull request #20 from Zaprit/master

Added macOS SCETool
This commit is contained in:
Logan Lowe 2022-06-22 17:18:51 -06:00 committed by GitHub
commit 1c39468343
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 3 deletions

View file

@ -43,8 +43,17 @@ public class RemotePatch
platformExecutable = "scetool/win64/scetool.exe";
else if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
platformExecutable = "scetool/linux64/scetool";
else if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX)) platformExecutable = "";
else if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
{
if (RuntimeInformation.OSArchitecture == Architecture.Arm64)
{
platformExecutable = "scetool/macarm64/scetool"; // For Apple Silicon Macs
}
else
{
platformExecutable = "scetool/mac64/scetool";
}
}
if (platformExecutable != "")
{
ProcessStartInfo startInfo = new();

Binary file not shown.

Binary file not shown.