unredacter icon indicating copy to clipboard operation
unredacter copied to clipboard

Does Not Work on Apple Silicon Macs

Open deg4uss3r opened this issue 3 years ago • 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.

deg4uss3r avatar Feb 18 '22 00:02 deg4uss3r

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

hfuturer avatar Feb 18 '22 03:02 hfuturer

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

dan-bishopfox avatar Feb 18 '22 16:02 dan-bishopfox

Updating the version to 11.0.1 works.

dropocol avatar Feb 21 '22 19:02 dropocol

How can I do that?

DeEskalator avatar Feb 21 '22 19:02 DeEskalator

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

dropocol avatar Feb 21 '22 20:02 dropocol

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.

dan-bishopfox avatar Feb 21 '22 20:02 dan-bishopfox

@dropocol Thanks man! This fixed it

DeEskalator avatar Feb 22 '22 18:02 DeEskalator

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

david-benes avatar Oct 16 '23 12:10 david-benes

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.

bokova avatar Dec 11 '23 09:12 bokova