Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I dynamically choose the Electron version? #841

Open
17621706783 opened this issue Apr 9, 2024 · 2 comments
Open

Can I dynamically choose the Electron version? #841

17621706783 opened this issue Apr 9, 2024 · 2 comments
Labels

Comments

@17621706783
Copy link

馃毃 The issue tracker is not for questions 馃毃

I have an arm64 machine currently, and due to its driver not supporting GPU, I need to downgrade the Electron version. Can I dynamically choose the Electron version? I noticed that 23.2.0 is fixed in the parameters within the Build method.

@FlorianRappl
Copy link
Collaborator

Unfortunately no.

I want to decouple these two things (Electron.NET API and Electron - using an adapter library), but developing that takes time. The advantage would be that fixes in Electron.NET would then be applied to all versions of Electron (at least supported by the adapter), whereas now you will need to stick to the version of Electron that comes with Electron.NET.

I wish I could prioritize this project, but I don't see any demand for it.

@gorsheninmv
Copy link

Yup, this is possible
donet tool run electronize build <your args> /electron-params "-c.electronVersion=29.3.1"
Note that it's not officially supported feature, but workaround

+1 for decoupling Electron.NET API and Electron versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants