Skip to content

Commit e0e8572

Browse files
authored
Update README.md
Add notes about osx-arm64.
1 parent 4ba8d9b commit e0e8572

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,13 @@ There are additional platforms available:
137137
```
138138
electronize build /target win
139139
electronize build /target osx
140+
electronize build /target osx-arm64
140141
electronize build /target linux
141142
```
142143

143-
Those three "default" targets will produce x64 packages for those platforms.
144+
Those four "default" targets will produce packages for those platforms.
145+
146+
Note that the `osx-arm64` build requires that the project target `net6.0`. `osx-arm64` is for Apple Silicon Macs.
144147

145148
For certain NuGet packages or certain scenarios you may want to build a pure x86 application. To support those things you can define the desired [.NET Core runtime](https://docs.microsoft.com/en-us/dotnet/core/rid-catalog), the [electron platform](https://github.com/electron-userland/electron-packager/blob/master/docs/api.md#platform) and [electron architecture](https://github.com/electron-userland/electron-packager/blob/master/docs/api.md#arch) like this:
146149

0 commit comments

Comments
 (0)