-
Notifications
You must be signed in to change notification settings - Fork 62
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
Doesnt work in Electron apps that have used .asar to package themselves #94
Comments
I solved this by not using .asar. I havent figured out why Electron folks bother with the .asar, so I'm not sure what the downside is for my change. |
(My comment is Off topic)
I think it's supposed to be a bit better than tar, less error prone (stream On Wed, Aug 10, 2016 at 17:45 Paul Frazee notifications@github.com wrote:
|
Yeah but there's no compression in .asar, and osx is already bundled into a On Wed, Aug 10, 2016 at 8:47 PM, Juan Benet notifications@github.com
|
Aha:
http://electron.atom.io/docs/tutorial/application-packaging/ |
It turns out, they'd even documented this specific issue: http://electron.atom.io/docs/tutorial/application-packaging/#executing-binaries-inside-asar-archive |
@haadcode do you run into this issue with orbit? How did you solve it? |
@diasdavid fixed it in the same way as @pfrazee did: not using asar. |
It seems that the solution is to exclude go-ipfs-dep from node_modules during packaging. I got it working with
|
@thisconnect thanks for working on a interim solution and documenting it on the README 👍 https://github.com/ipfs/js-ipfsd-ctl#packaging |
Can this issue be closed? |
See electron/electron#2708
The startDaemon() call never returns error or success. I'm fairly sure the issue is as in 2708: the relative paths fail.
The text was updated successfully, but these errors were encountered: