[PR #624] [MERGED] Support Apple Silicon Natively #1231

Open
opened 2026-01-29 16:58:40 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ElectronNET/Electron.NET/pull/624
Author: @bman46
Created: 11/21/2021
Status: Merged
Merged: 4/6/2022
Merged by: @GregorBiswanger

Base: masterHead: master


📝 Commits (9)

  • 438c8e1 Switch from dotnet 5.0 to dotnet 6.0
  • 5dbe62b Add osx-arm64 support to electronize command
  • 07d6fed Fix for build command
  • 4ba8d9b Add fix for Apple Silicon to build command
  • e0e8572 Update README.md
  • 1d9e540 Change back to dotnet 5
  • e4deba2 Add dotnet 6 check
  • 7e89e27 Better way to check version
  • b08a075 Revert automatic change by VS

📊 Changes

3 files changed (+76 additions, -4 deletions)

View changed files

📝 ElectronNET.CLI/Commands/Actions/GetTargetPlatformInformation.cs (+66 -3)
📝 ElectronNET.CLI/Commands/BuildCommand.cs (+6 -0)
📝 README.md (+4 -1)

📄 Description

While the current version works well with Rosetta 2, it is beneficial to be able to compile natively for ARM/Apple Silicon.

One issue that I would like input on is the switch from dotnet 5 to 6 for the CLI tools. Dotnet 6 is the minimum version to be able to target osx-arm64 and switching the CLI tools to 6 allows for the tools to be compiled and run natively on arm. The changes that I made should still work fine with dotnet 5 and be able to compile for osx-arm64 as long as dotnet 6 is also installed. It may also make more sense for this upgrade to be a separate pull request and upgrade all of the projects together to dotnet 6.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ElectronNET/Electron.NET/pull/624 **Author:** [@bman46](https://github.com/bman46) **Created:** 11/21/2021 **Status:** ✅ Merged **Merged:** 4/6/2022 **Merged by:** [@GregorBiswanger](https://github.com/GregorBiswanger) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (9) - [`438c8e1`](https://github.com/ElectronNET/Electron.NET/commit/438c8e1f1408bb3d26362672ad0f237752d5ab3c) Switch from dotnet 5.0 to dotnet 6.0 - [`5dbe62b`](https://github.com/ElectronNET/Electron.NET/commit/5dbe62bcba7f2cb979f413209dc4e97a5069d738) Add osx-arm64 support to electronize command - [`07d6fed`](https://github.com/ElectronNET/Electron.NET/commit/07d6fed71267f9a06bd45e254eff3145f8ee270f) Fix for build command - [`4ba8d9b`](https://github.com/ElectronNET/Electron.NET/commit/4ba8d9bf46fa58a3e19637c692139f0dd7d71939) Add fix for Apple Silicon to build command - [`e0e8572`](https://github.com/ElectronNET/Electron.NET/commit/e0e8572cc119e75355d270a26e1b5959768cb38f) Update README.md - [`1d9e540`](https://github.com/ElectronNET/Electron.NET/commit/1d9e540fc2e26c3f0ccfb43cd11c58e8da9ec159) Change back to dotnet 5 - [`e4deba2`](https://github.com/ElectronNET/Electron.NET/commit/e4deba2489b83723a06d41dc9f90140cf8a614c1) Add dotnet 6 check - [`7e89e27`](https://github.com/ElectronNET/Electron.NET/commit/7e89e27c2685948daf574bce91a72934cbe436d7) Better way to check version - [`b08a075`](https://github.com/ElectronNET/Electron.NET/commit/b08a0755e6810fb1c95e7972f58e937f91e01f20) Revert automatic change by VS ### 📊 Changes **3 files changed** (+76 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `ElectronNET.CLI/Commands/Actions/GetTargetPlatformInformation.cs` (+66 -3) 📝 `ElectronNET.CLI/Commands/BuildCommand.cs` (+6 -0) 📝 `README.md` (+4 -1) </details> ### 📄 Description While the current version works well with Rosetta 2, it is beneficial to be able to compile natively for ARM/Apple Silicon. One issue that I would like input on is the switch from dotnet 5 to 6 for the CLI tools. Dotnet 6 is the minimum version to be able to target `osx-arm64` and switching the CLI tools to 6 allows for the tools to be compiled and run natively on arm. The changes that I made should still work fine with dotnet 5 and be able to compile for `osx-arm64` as long as dotnet 6 is also installed. It may also make more sense for this upgrade to be a separate pull request and upgrade all of the projects together to dotnet 6. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 16:58:40 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#1231