I have this piece of code in the GUI part of my electron app which works perfectly alright when run from the terminal. I have packaged the app using 'electron-packager', then I started getting some issue.
Initially, the child process was…
I’m using Electron Packager to package an app. I need to build multiple versions of the app that use the exact same code base, but with a couple of different config variables.
For example, I might want to build an app with different themes - a red…
I am using the input with the directory attributes for folder upload that when i am using in Chrome gives me as a result an array of files and information about them
But when I am using the electron build with the same input it gives me an object…
I have just started looking at Capacitor as a possible solution to package my hybrid apps in an electron shell. This is the first time I have used Electron, so really know very little about it's details.
I ran through the following steps..
1. Create…
I am trying to run my express backend simultaneously with my reactjs frontend.
Front- and backend need to be packaged into one single electron app. As I am an beginner in both react and electron, the answer may be obvious.
So the question:
What…
I have an electron app which reads credit card details from card reader.
They provided a c# dll to interact with app. I have no idea about how to read the dll methods from electron app.
I have a electron app that works with npm start electron . on my Mac. However when I built it using electron-packager to compile it for the Mac, I get the following errors upon opening the compiled Application file
bootstrap.min.css Failed to load…
Environment: Windows 10 Pro (x64) and electron 1.7.9 (also 1.8.3 )
Problem description:
The usage of "deasync" node module (version 0.1.11 and also 0.1.12) causes the crash of the renderer process.
In electron app, just using
var deasync =…
I have an Electron and Anguarjs CLI app that I want to distribute.
After running ng build --prod I get a dist directory that is ~1Mb.
However after running electron-packager . the app is ~350Mb.
I have my electron main.js setup to point to the…
When I compile my electron application with this command:
electron-packager ./dist my-application --overwrite --platform=darwin --arch=x64 --icon=icon.icns
And then, I try to open the executable created, I have the following error:
dyld: lazy…
I wrapped a module using Electron Packager. Because it has heavy computation, i put it in a sub process that would be forked from renderer.js when user clicks a button on index.html.
Pseudo-code renderer.js from :
let cp =…
I have my Electron app which I am packaging with electron-packager npm module.
I want to execute an python application only by name from Nodejs module called child_process. When the application isn't packaged it works, but when I package it does…
I am trying to publish and share my electron app by using electron packager.
I was following this tutorial:
https://www.christianengvall.se/electron-packager-tutorial/
The tutorial makes a folder 'release-builds' with the application. When I do the…
In one .js file I have
window.functionName = function(){
}
Now I want to call the function in the main electron file. How can I do that?
Here is what I tried to do in the main electron file:
const electron = require('electron');
const…
I have one switch code to identify the windows arch: ia32 and x64, and by this i have two pepflashplayer.dll in my app folder but the weight of the two files is 45.8mb (And the final weight of the app is 74mb), and i think that my app weigh too much…