throwing EACCES error on MacOS
Opened this issue · 2 comments
etodanik commented
Upon closer inspection I can see that the permissions are wrong:
-rw-r--r--@ 1 danny staff 965K Apr 9 14:55 /Users/danny/WebstormProjects/alchemist/node_modules/7zip-bin/mac/arm64/7za
Is this a packing / publishing issue?
mmaietta commented
Publishing issue I think.
electron-builder worked around this in code with:
https://github.com/electron-userland/electron-builder/blob/dfa35c321f6e68c6a102ddc49aa64985fb11d396/packages/builder-util/src/7za.ts#L5-L10
ollm commented
I can confirm that if installed from source the binary has the correct permissions, ollm/OpenComic#269 (comment) and ollm/OpenComic#269 (comment)
npm install github:develar/7zip-bin