diff --git a/src/ElectronNET.CLI/Commands/Actions/GetTargetPlatformInformation.cs b/src/ElectronNET.CLI/Commands/Actions/GetTargetPlatformInformation.cs index a12d4275..49184145 100644 --- a/src/ElectronNET.CLI/Commands/Actions/GetTargetPlatformInformation.cs +++ b/src/ElectronNET.CLI/Commands/Actions/GetTargetPlatformInformation.cs @@ -48,7 +48,7 @@ public static GetTargetPlatformInformationResult Do(string desiredPlatform, stri } if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX)) { - netCorePublishRid = "osx-x64"; + netCorePublishRid = RuntimeInformation.ProcessArchitecture == Architecture.Arm64 ? "osx-arm64" : "osx-x64"; electronPackerPlatform = "mac"; } if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))