Fork me on GitHub
#hoplon
<
2017-01-22
>
candera07:01:52

Has anyone had any luck getting a Hoplon app to run as a packaged Electron app? I can actually get mine to execute when invoking electron directly, but the package I produce with electron-packager fails with this error:

candera07:01:07

I think this is probably not a Hoplon problem per se, but a Clojurescript/Electron one. If there’s a better channel to ask in, please direct me there.

thedavidmeister08:01:47

@qqq that looks really cool, could you put something up in github so it doesn't get lost in the chat history?

qqq08:01:31

@thedavidmeister : no, but you don't want it to be lost, you can convert it to a hoplon patch 🙂

thedavidmeister12:01:56

@micha @alandipert what are your thoughts on complementing on! with observers like MutationObserver, IntersectionObserver, ResizeObserver, etc.

flyboarder16:01:21

@candera: I have working electron apps with hoplon

flyboarder17:01:45

@candera: it looks like the issue is your js/_dirname this is the location your scripts are invoked from which is different in Node.js and Electron. I would make sure you are always using at least simple compilation to get a single compiled file