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
FEAT: Apple Silicon support #98
Comments
Since we are using |
Currently stuck on this one: electron-userland/electron-builder#5816 But I think it's just because I'm on an M1, it probably works to build both builds from an Intel Mac. |
Merged PR #99, but build failed with error "OSError: [Errno 2] No such file or directory: '/Volumes/dbgate 4.1.10-beta.3/.background/background.tiff'" Any idea, what's wrong? Maybe use different electron-builder version? |
I just installed the latest version from the main site on a new MacBook Air M1 Chip (about 1 month old) so it's current version. Install was very easy as expected for a Mac user then when I went to open the app finder gave an error "... cannot be opened because the developer cannot be verified". After a quick Google I found the following support link and simply command-clicked "right-click equivalent" and it opened without issue. https://support.apple.com/guide/mac-help/open-a-mac-app-from-an-unidentified-developer-mh40616/mac I then docked it and re-opend my two saved SQLite connections and it's working great. Based on the type of end user (Developer, DBA, etc) I would expect most people to Google or know how to command-click and open the app but a simple alert that appears after the user clicks download on the Mac link from the main site could be helpful for some people. If needed I'll generate a screenshot of the warning later. |
Thanks very much for info. It is not ideal solution, but for now info after download would be OK. If you could provider screenshot, it will be great. As I am not Mac user, I don't know details, but I suppose it works in similar way as code signing under Windows. |
I created a quick demo page to show what I was talking about above. Probably a very low priority but something like could be used until a full developer verified solution is found (seems like it might be OS specific - example - newer more secure versions of Mac). https://dataformsjs.s3-us-west-1.amazonaws.com/tmp/dbgate/dbgate-mac-download-demo.html Also related link from Apple that could be included for full details: I performed a quick Google of how to compile Mac apps to avoid this issue but didn't find it one first few links so it would take more time to figure out the underlying issue. |
@ConradSollitt Thank you for help. I have added dialog with download info for mac exactly as you suggested. I think this should be very helpful for some users |
@LinusU arm64 for Mac build works. It required update of electron-builder and some nasty workround about problems with electorn-builder paralel builds |
@janproch Awesome! Sorry for not being more helpful during the process... |
Is your feature request related to a problem? Please describe.
The app cannot launch on my M1 MacBook Air (without installing Rosetta which I'm trying to avoid).
Describe the solution you'd like
It would be great if there was a build for
arm64
in addition tox86_64
.Describe alternatives you've considered
One alternativ is running thru Rosetta, but this has some performance and battery life disadvantages.
Additional context
This should be easy to accomplish, we just need to make sure that we have the necessary versions of some packages:
ref: https://www.electronjs.org/blog/apple-silicon
Then it should be as simple as to add
arm64
to the list of platforms that we build for 🚀The text was updated successfully, but these errors were encountered: