Skip to main content

All Questions

1 vote
1 answer
124 views

How to run a batch file with electron?

I've been trying to find a solution all morning. I've watched numerous tutorials, but I just don't get how this works. In my Electron program there is a button. When this button is clicked, a batch ...
NMA's user avatar
  • 13
1 vote
0 answers
143 views

ENOENT error when building Electron app for macOS: HTML template not found in build destination

This is a problem when building Electron apps. When I develop a local app in Electron and build it, the HTML that serves as the template is not found at the build destination. ideal state Moving src/...
HavingPainfulAGO's user avatar
1 vote
0 answers
32 views

Custom Close, Maximize and Maximize buttons doesn´t work after build in MacOS

I have created custom header buttons for Minimize and close window that work fine when runing local but after creating build and install on MacOS, buttons stop working. Renderer.html <div class=&...
Yash Talaiche's user avatar
0 votes
0 answers
823 views

Avoid Zoom In/Out in Electron Browser Window

I know there are other resources trying to solve this but none of them seem to have worked for me. I think this is because I'm using browser Window function. So all I need to do is avoid the zoom in/...
alex's user avatar
  • 144
4 votes
1 answer
688 views

Electron-builder app show blank screen for 32 bit, but works for 64-bit version

"package": "yarn build && electron-builder build --publish never", "package-win-32": "yarn build && electron-builder build --win --ia32", ...
Atul Jain's user avatar
  • 133
0 votes
1 answer
41 views

Javascript method not working from external stylesheet - Electron

I am trying to call a javascript function which is determined by an onclick tag linked with a button. However, the javascript method call seems it is not working. The javascript is external, thus I am ...
Tex_Dex's user avatar
  • 21
3 votes
2 answers
5k views

Electron app not loading index.html after building with electron builder, even giving no error

I am a beginner to electron and created a simple app with it. it is running correctly using cmd. However after building it with electron-builder and opening the created app it is showing nothing just ...
hemant kumar's user avatar
0 votes
2 answers
821 views

Electron: Store user editable data in .txt file

I am making an electron app that converts data from .txt files to Javascript arrays. This data is stored inside a folder called faces in the main directory. I also have a button in my app which, when ...
Alex Hawking's user avatar
  • 1,195
0 votes
1 answer
2k views

Error Cannot read property 'updaterCacheDirName' of undefined

I'm trying to create an application with auto update, but I have an error when running the version search the app finds the version and when it is about to go down I get this error Error: TypeError: ...
Neyunse's user avatar
  • 105
2 votes
1 answer
4k views

How to load a PDF file embeded in an iFrame on electron browser

We have an app which launches Electron browser. In the Electron browser we load a third party website which has a link. When we view this site in the Chrome or IE browsers, clicking on this link it ...
Abhi's user avatar
  • 53