ankurk91 / google-chat-electron

An unofficial desktop app for Google Chat :electron:
GNU General Public License v3.0
162 stars 49 forks source link

Add building of macOS ARM releases #73

Closed ericyanush closed 2 years ago

ericyanush commented 2 years ago

This PR adds scripts to support building ARM64 (M1) native release packages.

To fit with the current style of release builds, I've duplicated the steps for x86_64 macOS builds. Alternatively, this could be collapsed into a single installer-zip.sh file and a single command to electron-packager.

ankurk91 commented 2 years ago

Thanks, but Does GitHub-Action has ARM support for mac OS runners?

ericyanush commented 2 years ago

The x86-64 macOS instances provided by GitHub actions should be able to build the arm binaries as well. I tested building the arm binaries on both an M1 Mac and an Intel one, with both producing usable ARM64 builds.

I'm not certain, but I suspect, from my prior experiences, that you should be able to produce the linux and windows builds from an Intel Mac as well.