The @vercel/webpack-asset-relocator-loader works in some modules, and does not work in some. In cases that it doesn't work, I have to use the externals config as stated in the electron-forge docs here.
If the asset relocator loader does not work…
I am new to electronjs. I want to convert an angular app to desktop. I could achieve it successfully but the problem is that the app icon is set to default electron and not the icon I provided as follows:
win = new BrowserWindow({
width:…
I find that the MyApp.exe file generated using electron-builder is nearly about 500M. I am not sure what I did because previously, just for ia32 or x64, it would be around 196M. I also looked at this link and it mentions only about 55MB-60MB. So the…
I am trying to package an electron app using electron packager. After successfully packaging the app, when I open the app file, it throws the following error.
Version that am using,
npm - 5.4.1
node - 6.11.0
electron - 1.6.11
Please help if anyone…
Well, I have quite a simple task, which can't be really hard.
I have an app, which uses the electron framework to use the application on Windows and Mac machines.
I notices that I am able to use Ctrl+c/Ctrl+v on Windows without any problems, but I…
I'm using electron-builder (16.6.2) to package my electron application which includes keytar (3.0.2) as a prod dependency.
package.json file includes:
"scripts": {
"postinstall": "install-app-deps",
"compile:dev": "webpack-dev-server --hot…
I've got my electron build files for a win .exe and installer but the icons aren't mine. In my main.js file, I have code to attach the icon but I can only make it work inside of the createWindow function. Outside the function, I get an error…
I have created an electron project which is working fine but when I try to package an electron app using electron packager and then run it. I am facing an exception
Uncaught Exception:
Error: Cannot find module
Require…
I am generating electron distro for linux.
This is how the app is built
This is how app is built in packge.json
"builderForLinx": "electron-packager --out linx64 --overwrite --platform linux --appname myApp --asar"
this app structure myApp ->…
I'm working on an electron app and within the app, I execute shell commands using child_process.exec. One of the commands I run is npm run start; this works perfectly in a dev environment but when I build the application for production all npm…
I have an electron app, that loads some css's from spring boot server.
When I run app from npm from sources, I can run as
ng build && electron . --disable-http-cache
and it works without the cache.
If I build my app with electron-packager to…
I have been struggling with this issue and could not figure it out. Similar problems were posted which solutions suggested node version had a glitch or package versions should be down/upgraded. I have tried it with modifying the node versions,…
I have an electron app and below is the folder structure.
app
|--node_modules
|--somepackage/src
|--src
I am packaging this app using electron-packager, so I tried to ignore root level src folder by executing the below command.
"scripts": {
…
There are lots of questions relating to setting icons using electron-packager but none of the answers have worked for me – maybe the answers are out of date or not clear – but I need to ask again.
I am building on OSX for OSX & Windows. I've tried…
I was trying to create package of legacy electron app using electron-packager but got an error like below. I have search several questions in stackoverflow with no luck.
electron-packager . MyApp --platform=win32 --arch=x64 --no-prune --overwrite…