Richard
Richard
Just add in the documentation that you need to run _npm run compile_ after you run _npm run build_ Then it works.
I'm running from windows. I had to change the script build line from _"npm run clean && npm run copy && NODE_ENV=production npm run compile"_ to _"npm run clean &&...
I noticed a problem with electron if your image path is relative using a forward slash such as '/assets/img/image.png' For electron, just remove the forward slash. If this is not...
I have the same problem!! The documentation does not cover this basic scenario and there isn't any help on the slack channel. Can I ask you where did you create...
Thanks alot for the info! For the icon issue, I've made a hook script to copy the icon at the right spot and call it from Config.xml ``` ``` And...
I've found on the web a way to run native C++ into a pure electron app from here : https://gauriatiq.medium.com/electron-app-with-c-back-end-as-native-addon-napi-c67867f4058 Do you guys think it could be possible to leverage...
Thanks for the reply, this gives me hope. I'm working on this at the moment and will let you know how it goes.
Alright, so I managed to use compiled native C++ to run from nodejs in the context of a cordova-electron plugin! Thanks to @mzielezny I found that my missing piece was...
This would be great indeed! I was thinking of making a hook to switch build.json before hand to get me out of this issue.
Here I made the script after all. Take it if you need it. [copy-build.zip](https://github.com/apache/cordova-electron/files/5880567/copy-build.zip) Basically, you'll have specific build.json files for each platform and for electron, you are able to...