BishopFox/unredacter

Does Not Work on Apple Silicon Macs

deg4uss3r opened this issue · 9 comments

Running npm install fails at:

npm ERR! HTTPError: Response code 404 (Not Found) for https://github.com/electron/electron/releases/download/v9.4.4/electron-v9.4.4-darwin-arm64.zip

Because v9.4.4 does not have an darwin-arm64 build

According to the docs you'll need at least electron 11.0.0.

同上更新。在package.json里面electron版本修改为 "electron": "^11.0.1" 就OK啦~

I don't have a mac to test on. Does it work if you just roll the electron version up? I'm not quite sure what might break with that upgrade

Updating the version to 11.0.1 works.

How can I do that?

@DeEskalator in package.json file, update the electron version to 11.0.1 and run -> npm install

I tried out 11.0.1 just now and it looks like it does sub-pixel rendering by default. Which causes the results to have a color to them. I wonder how to turn that off.

@dropocol Thanks man! This fixed it

I can confirm that electron 11 works on mac silicon. Versions 9 or 10 don't.

bokova commented

Just to add a bit of context, according to https://www.electronjs.org/blog/apple-silicon they Electron has support for M1 Macs (Apple Silicon) added from version 11.0.0-beta.1 upwards.