Skip to content
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

Bug spawning new process with electron #17

Closed
Circuit8 opened this issue Mar 5, 2018 · 1 comment
Closed

Bug spawning new process with electron #17

Circuit8 opened this issue Mar 5, 2018 · 1 comment

Comments

@Circuit8
Copy link
Contributor

Circuit8 commented Mar 5, 2018

Hi there,
First of all thanks for your work on exiftool-vendored, its a great library and a huge help to me!

So I'm using Electron and in development exiftool-vendored is working perfectly. However when I build for production and attempt to write to a file I'm getting the following errors in the console:

screenshot

I'm using exiftool-vendored version 4.18.1 and running on Ubuntu

Cheers

@mceachen
Copy link
Member

mceachen commented Mar 5, 2018

There is so much flexibility and no clear standard in packaging Electron apps, and a lot of sharp bits to poke you. It took me a while to get the right combination of electron packaging (I am using electron-builder ), webpack config, asar exclusions, and __dirname workarounds to make everything work cross-platform. Electron isn't quite the "everything just works" solution it advertises, unfortunately.

Good luck! If you want to contribute a wiki page describing how you got your app working, the wiki should be open to your edits, and you contributions would be most welcome!

(Hint: exclude exiftool-vendored.pl and exiftool-vendored.exe from asar)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants