Category "electron"

Electron - Catch when window is closed using the "x" button

The setup Looking at the BrowserWindow Events Docs, the close event is... Emitted when the window is going to be closed and the closed event is... Em

Use ShareArrayBuffer from an electron app

We have an electron app which uses ShareArrayBuffer. It was written with a very old version of electron. When we updated the electron version in order to use SI

The V8 platform used by this instance of Node does not support creating Workers

With my current project I run into the following error message when creating a worker: ERROR Error: The V8 platform used by this instance of Node does not supp

Build electron as exe on macbook m1

I trying to build an electron with an exe installer on macOS with a MacBook Pro with an m1. I already tried different packages like electron-packager, electron-

Force a TestCafé to abort the execution of a test if it get stuck

I am working with TestCafé 1.8.1 and testcafe-browser-provider-electron 0.0.14. Let's say that an issue in the application force it to get stuck and hang

How do I determine if an application is built by Electron or not?

How do I determine if an application is built by Electron or not? Could I always find specific file or binary on Electron apps? Please give me some advice, th

Pressing Win + D causes an electron window that is not allowed to minimize to minimize on Windows 10

Using electron 16.9.1, I have built an app whose window is not allowed to minimize and whose alwaysOnTop property is set to false. To put it another way, the id

Remove menubar from Electron app

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 pack

Getting Code Signature Invalid when opening signed electron app

I'm dealing with this issue for almost two weeks. When I build my electron app in a DMG file, everything works perfect, but when I try to build the app in pkg f

How to use preload.js properly in Electron

I'm trying to use Node modules (in this example, fs) in my renderer processes, like this: // main_window.js const fs = require('fs') function action() { c

How to set custom executable icon using electron-packager?

I have successfully built an Electron app. Now I'm trying to change the icon of the .exe that is generated by electron-packager. However, the .exe gets the de

How to set custom executable icon using electron-packager?

I have successfully built an Electron app. Now I'm trying to change the icon of the .exe that is generated by electron-packager. However, the .exe gets the de

How to set custom executable icon using electron-packager?

I have successfully built an Electron app. Now I'm trying to change the icon of the .exe that is generated by electron-packager. However, the .exe gets the de