Category "electron"

How to hide sensitive info in electron JS

Hello i've been working in an electron application, and decided to add an feature that complete faucets like the cryptocurrency ones that you need to solve an c

How to share state (react)between electron's multiple windows?

I am developing a desktop app with react for UI and electron. So, for now, I am fetching data from the server and saving it in the state using React's Context

Not able to register and unregister .dll file through electron-builder custom NSIS include script

I have created a electron desktop app and created a installer using electron-builder. Now I want to add capability of registering a .dll file at the time of ins

How to access the mainWindow from another script in Electron?

My electron app defines the BrowserWindow mainWindow in the main.js. It loads an html and eventually inside of the html a script runs the function dialog.showMe

How to install electron offline without github

I try to install electron offline. I mean without github and internet access. I have jfrog artifactory for the electron package but the installation requires al

Electron auto updater setup with own server (generic provider)

I have my own server where I uploaded app installer via FTP. Its name is quickmargo Setup 1.0.0.exe and it's available at https://quickmargo.pl/dist/download/

How to execute a Bash command using an Electron platform in Cordova

I'm trying to use Cordova that now includes Electron to create a Desktop App for Linux. I want a button that fires a shell command: const exec = require('chil

How to package an electron app for "darwin-x64" on an Mac M1/Apple Silicone (arm64)?

Hi Electron Enthusiasts! How do I package an electron app for "darwin-x64" on an Mac M1/Apple Silicone (arm64)? It is definitely possible, since a month ago I h

How can Electron communicate with its Angular-Frontend?

I'm running an Angular Frontend within a frameless Electron-Window. Because the window is frameless, I need to implement the minimizing/maximizing/unmaximizing/

Debugging an electron app in Visual Studio Code

Could I please ask for help with the following? I have an electron app (basically the quick start app so very very simple). I am viewing the code with Visual St

One ipcMain.on() works in the same file while the other doesn't work?

I am developing an app using Electron and vue. I use this solution to communicate between main and render, so I have three files, preload.js , main and renderer

ElectronJS - sharing redux store between windows?

I have an electron app based on electron-react-boilerplate. Now, that I have one window running as I wanted it to run, I started to create a new window. I cur

How to save MediaRecorder Web API output to disk using a stream

I am experimenting with the MediaStream Recording API within Electron (therefore Node.js) and wish to handle the output as a stream. Handling as a stream would

Load local files into iframe in Electron app

I'm building an app with Electron that lets you preview HTML5 banner ads stored locally on your machine. So far, I have made it possible to select a directory c

ERROR:gpu_init.cc(441)] Passthrough is not supported, GL is disabled in Cypress

After updating cypress to 8.6.0, the following error message started appearing when I run the test cases --headless. ERROR:gpu_init.cc(441)] Passthrough is not

How do I get selenium to open my electron app?

I'm attempting to setup Selenium to test my electron app. So far I have the code from the Electron documentation, however, this only opens the HTML file, not my

How to Change ElectronJS App default Icon?

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 elec

React router, redux, electron: router isn't rendering

I'm trying to get react-router to work in an electron app. I'm using a boilerplate and stripped away some of the stuff I don't want but that should provide a pr

Electron Js Venurability

From last few days I am facing an issue with Electron JS. That is whenever I install electron it says that some venerability is there. I want to fix it, I have

Setup p5.js in Electron

I am trying to use p5.js in a electron desktop app. I tried using templates from github but it didn't work I tried setting up my self it didn't work either. Her