Skip to content

How to handle Electron Version selection in the future? #891

@softworkz

Description

@softworkz

IMO, this is getting too complicated. It would be much easier and better when the adaption would happen dynamically during runtime - depending on the Electron version that is selected in the project properities.

Please see the discussion above and the examples I'm giving about how MS/Xamarin have been doing this for Android API changes for a long time already without shipping dozens of different versions.

I definitely understand this approach but was thinking to adopt Electron release approach thats why I was asking about incremental versions - in case there is a known bug for a specific release lets say for 36.0.0 then 36.0.1 would be released. While what you are proposing sounds great how complicated would it be to implement?

So for example lets say in version 37 a method takes an object of specific type as an input while in 38 it takes a string, is that easy to implement?
Some methods and events are added while others are dropped.

As for versioning already found my answer on Google - yes it is possible to publish lesser versions to Nuget.

Don't get me wrong what you proposing sounds like a proper sophisticated solution but is not something I am familiar with and would require considerably more time investment upfront than I can spare. I will leave it with you.

Originally posted by @agracio in #872

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions