79298618

Date: 2024-12-20 23:39:23
Score: 1
Natty:
Report link

In the main process, you can get the version from package.json with app.getVersion():

const { app } = require('electron');
const version = app.getVersion();

This may give you an unexpected result (the version of the Electron binary) when running your app in local development mode. (See GitHub issue #7085.)

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: mwopitz