-
Notifications
You must be signed in to change notification settings - Fork 271
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
Universal app support (new proposal) #456
Conversation
…nto cross-compilation
…zer-macos into universal-app-support
Works for me! Assume it works for M1 too, this and the other PR can be merged then? |
Hi, that’s great news @1kc Merging this PR is enough to fix cross-compilation and add universal app support. This means that PR #451 and #455 can be ignored. After you merge this PR I would suggest you to make a fork of iohook repository (https://github.com/wilix-team/iohook) yourself and point the submodule iohook to your forked repository instead of mine like this: Step 1: Go to your forked iohook repository and modify install.js 'downloadUrl' as follows: let downloadUrl = Step 2: Go back to razer-macos repository and edit .gitmodules and change: to [submodule "iohook"] Then run: Create v0.9.3 release to your iohook repository and add there following assets: Let me know if you need more details @1kc |
@1kc Have you had time to look at this? |
@1kc So how about bringing universal app support for razer-macos? To make things easier you can just merge this PR and I can keep maintaining the iohook fork on my side for now. |
sorry got caught up a bit. Having a look now @overcurrent |
I've built and ran it on my Intel machine. Works flawlessly! |
Ive build my unsigned version here, could you let me know if it works? https://a.tmp.ninja/JcyksldQ.dmg |
Hi and thanks @1kc for getting back to this topic. I could get this to run in both Rosetta layer and native layer (arm64) by approving the app via Security & Privacy. I then tried to code sign the app you built using my Developer ID and after that everything started working. My suspicion is that the iohook module is not getting permission from OS X running M1 to do what it wants to do unless the app and its underlying parts are signed by an identified Apple developer. I will attach link to signed package here later tonight which I built from your upstream master which can be used to provide release package for everybody. But it's great to know that this build basically does work once signed. |
@1kc Here's the notarized package built from upstream master: https://github.com/overcurrent/razer-macos/releases/download/v0.4.5%2B_universal_app/Razer.macOS-0.4.5-universal.dmg |
Universal app support (new proposal)
Proposal to add universal app support.
The built dmg and app work on my machine in native (arm64) and Rosetta (Intel emulation) modes including features that require iohook module.
Test package here: https://github.com/overcurrent/razer-macos/releases/download/v0.4.5%2B_universal_app/Razer.macOS-0.4.5-universal.dmg
Please give feedback how this works on your setup.
You can clone this branch by: git clone --recursive --branch universal-app-support https://github.com/overcurrent/razer-macos.git
Build using either:
or