Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile an arm64 build for macOS #254

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

liamdawson
Copy link

I'm using an M1 Macbook now, and I noticed that DevHub is a bit of an outlier for CPU usage on my machine. I also noticed that it doesn't offer an arm64 build for macOS, so I thought I'd try my hand at making one.

I built a local version of the app from https://github.com/devhubapp/devhub/releases/tag/v0.102.0 using this approach, so you should be able to backport it and cut a new release from that tag (or just build the arm64 artifacts) if you were so inclined.

(I managed to build a universal binary, but that increased the size of the .dmg by ~40%, which felt like an unreasonable amount of overhead)

@jmarbutt
Copy link

I feel like the non-arm version is using a significant amount of battery when unplugged, does this help resolve that?

@@ -97,7 +104,7 @@
"@types/semver": "7.3.4",
"dotenv": "8.2.0",
"electron": "11.0.3",
"electron-builder": "22.9.1",
"electron-builder": "22.14.5",
"electron-devtools-installer": "3.1.1",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@allpossumsarewaterpossums I feel like GitHub might have cut off a question you were about to ask?

@brentsmith721
Copy link

Is there any plans to merge this anytime soon? Just switched to an M1 Macbook and would love to see this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants