Why is electron’s showMessageBoxSync duplicating itself when cancel is clicked?

So the issue is: I open an electron messageBox of type ‘info’ once a button is clicked. It has ‘OK’ and ‘Cancel’ options. If I click ‘OK’, no problem. But when I click ‘Cancel’, then click my button …

CSS variable won’t get set | Electron

I’m currently having an issue with CSS variables not being set, I’m using electron and im trying to set it like this: for (let Button of ThemeButtons){ Button.addEventListener(“click”, …

Take desktop screenshot with Electron

I am using Electron to create a Windows application that creates a fullscreen transparent overlay window. The purpose of this overlay is to: take a screenshot of the entire screen (not the overlay …

My app doesn’t close on button, electron.js

I have this electron.js app and I would like the application to close when I click on the text with class closer. Here is my code: HTML

Electron, Javascript: How to select an array within an array returned by the database

I want to foreach an array to show on the screen. This array is the data from a database table. The code to get this data: const { getConnection } = require(‘./database’); async function getUsers() { …

How to overflow auto focus last element

I develop Todo App. İf add to new element, scrollbars not focusing bottom of the page. How can i solve this problem ?

React component not rerendering after state change despite using setState()

I tried to fetch data from an embedded sqlite db and displayed it in list format. The fetchData() function is working, with correct returned result. However, when I used setState() to update the state,…

What is the url where an express app is located at inside an electron app

I am not sure I am doing this quite right. My end goal is to send a post request from a lambda function to my electron app and create a system notification. Locally I have been able to do it from post …

Electron notarisation failed due to The binary uses an SDK older than the 10.9 SDK

We are trying to notarise the electron app but I’m getting this error.The versions which we are using are electron: 3.0.6, electron-builder”: “^21.2.0 { “logFormatVersion”: 1, &…

Window does not render on build, works fine in development server

My app does not display a window when it’s built, but works fine when I run npm run serve There is still an process running in task manager, and the same thing happens if I use the installer. I don’t …