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 extension installation #7161

Merged
merged 1 commit into from Feb 15, 2023
Merged

Fix extension installation #7161

merged 1 commit into from Feb 15, 2023

Conversation

jansav
Copy link
Contributor

@jansav jansav commented Feb 15, 2023

There's code that removes the package.json file from extension even though it's not supposed to do so. This code was added in #1718.

Fixes #7141

By looking at the code, I can see many major problems with it, but here's the minimal fix. Decided that I'm not going to do any major rework for the extension discovery / -loading since it will be rebuilt to support new type of extensions (Features) soon.

Examples:

  1. renderer accesses file system directly
  2. renderer downloads the extension
  3. No clear code path to follow. (installing, file system watches etc.)

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
@jansav jansav added the bug Something isn't working label Feb 15, 2023
@jansav jansav added this to the 6.4.0 milestone Feb 15, 2023
@jansav jansav requested a review from a team as a code owner February 15, 2023 08:49
@jansav jansav requested review from Iku-turso, ixrock, Nokel81 and jim-docker and removed request for a team, ixrock, jim-docker and Iku-turso February 15, 2023 08:49
@jansav jansav changed the title Fix extension installation by not removing the package.json Fix extension installation Feb 15, 2023
@Nokel81 Nokel81 merged commit fbb37c6 into master Feb 15, 2023
@Nokel81 Nokel81 deleted the fix/extension-installation branch February 15, 2023 13:17
@Nokel81 Nokel81 mentioned this pull request Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Extension does not finish installing
4 participants