Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Engine:Electron

From PCGamingWiki, the wiki about fixing PC games
Electron
Electron Software Framework Logo.svg
Developers
Website
First release date
Latest release date

Game Developer Publisher First release
Cookie Clicker DashNet Playsaurus September 1, 2021
Five Nations SilverForge May 4, 2021
Istrolid treeform May 6, 2016
Shapez Tobias Springer tobspr Games, Doyoyo Games, Prismatika May 30, 2020
Vampire Survivors poncle October 20, 2022
Wayward Unlok

Electron is an open source library, combining the Blink rendering engine, found in Google Chrome web browser, and Node.js JavaScript environment. Initially developed for the Atom text editor, it is now used in wide variety of software ranging from desktop applications to games.

Modding

Enabling Electron debugging

To debug the the native (Node.js) code:

  1. Set the game launch option to --inspect
  2. Using any Chromium-based browser (eg. Google Chrome), go to chrome://inspect
  3. Click inspect under Remote Target
Enabling web inspector

To debug the the web content (Chromium) interface code:

  1. Enable Electron debugging and attach to remote target
  2. Type require('electron').app.once('browser-window-focus', (e, w) => w.webContents.openDevTools())
  3. Switch to the game window and the web inspector should open