
ElectronJS: Allowing parent and child iframe to communicate
Ah yes. The answer would be simpler if I actually had two windows (a main window and a settings window, for instance) as the main process could act as liason betwen the two. In my case, however, I …
How to use preload.js properly in Electron - Stack Overflow
Sep 5, 2019 · The preload script concept in Electron seems like a design flaw. Seeing many people write boilerplate code to allow render processes to send arbitrary events to the main process makes me …
How to use electron's app.getPath() to store data?
Dec 24, 2017 · I want to store images on the users computer, so I figure it should be stored in users data folder, as described here. app.getPath(name) name. Returns String - A path to a special directory or
Passing data from main to renderer (electron-js) - Stack Overflow
Jul 26, 2022 · The topic is "Passing data from main to renderer"; NOT the other way around. While ipcMain is well documented for renderer to main (where the renderer is the origin of inquiry); but the …
Electron store my app datas in 'userData' path - Stack Overflow
I'm building and trying do deploying a packaged electron app. FOr the packaging i used electron-packager electron-installer-debian electron-installer-dmg electron-winstaller and I'm facing a little...
javascript - Electron require () is not defined - Stack Overflow
Jun 6, 2017 · I hope this answer gets some attention, because a large majority of answers here leave large security holes in your electron app. In fact this answer is essentially what you should be doing …
How to Change ElectronJS App default Icon? - Stack Overflow
Oct 12, 2019 · 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 …
How do I set the window name/title in ElectronJS?
Aug 3, 2020 · How do I set the window name/title in ElectronJS? Asked 5 years, 6 months ago Modified 1 year, 7 months ago Viewed 10k times
node.js - Remove menubar from Electron app - Stack Overflow
Aug 23, 2016 · How do I remove this menu-bar from my electron apps: Also it says "Hello World"(is this because I downloaded electron pre-built, and will go away once I package the application?). I didn't …
Printing a PDF file with Electron JS - Stack Overflow
Apr 4, 2018 · @Noseratio Heyho, since Electronjs is very buggy thing above Nodejs, I would suggest to try the answer for "how to print PDF in Nodejs app". You have to spawn the new child process on the …