Skip to content

Electron version is not changing when using electronVersion in electron.manifest.json #767

@yuriiproniuk

Description

@yuriiproniuk

ElectronNET.CLI Version: 23.6.1.0
Electron Version: 23.2.0
.NET Version: 6.0.406
Node.js - v16.16.0

Building for target: Windows

Steps to Reproduce:

  1. Update Electron and Electron CLI to latest versions
  2. Build and publish app using electronize build.
  3. Observe version of Electron used: 23.2.0
  4. Go to electron.manifest.json and add "electronVersion": "22.0.0", to the "build" section.
  5. Build and publish app using electronize build.
  6. Observe version of Electron used: 23.2.0

Expected result: Electron version used should be 22.0.0

Other things I tried to downgrade electron version:

  • changing the version in package.json
  • removing electron from package.json totally so it picks the version from electron.manifest.json
  • deleting node_modules and running npm install

None of it worked.

I need to downgrade version of electron in my app so it uses Chromium v108 and I found that the sufficient version of electron which uses it is 22.0.0. But none of the ways I could find in documentation or anywhere else work.

Could you please tell me how to do it? Is it even possible?

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions