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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix for the issue of dynamic import and asar #57

Merged
merged 1 commit into from
Dec 4, 2023

Conversation

marcopiraccini
Copy link
Contributor

To fix this we needed to go back to execa 5.
The reason is that from 6 only ESM is supported in execa, BUT exlectron compiles to JS with CommonJS (actually transforming the import in require`. This would nt be an issue if we use dynamic imprt (like we did) BUT the dynamic import in electron is broken (see: electron/electron#38957) and will be fixed with electron 0.29.
Will open an issue for that.

@marcopiraccini marcopiraccini changed the title fix for the ossue of dynamic import and asar fix for the issue of dynamic import and asar Dec 4, 2023
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@tonysnowboardunderthebridge tonysnowboardunderthebridge merged commit 8f7b092 into main Dec 4, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants