Skip to content

evaluate bytecode inside custom electron builds #839

@ThaUnknown

Description

@ThaUnknown

Clear and concise description of the problem

When using the bytecode plugin the npms electron install is used, this is problematic as the npm versions used by electron and the environment might miss-match.

This is a problem for CI and for custom electron builds. CI might be running different versions of the OS which might use electron versions that behave differently, and custom electron builds might be running modified versions of nodejs which are also incompatible as they might be compiled using different SDK versions or apply their own custom patches.

Suggested solution

Evaluate the bytecode inside the respective electron processes.

This is however difficult as it requires to read the respective electron-dist location, be it from electron-builder or electron-forge, obtaining their .zips, unpacking them and executing their electron installs, from there on out however it's quite simple as you only need to run a specific cli file, which already exists

Alternative

No response

Additional context

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions