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: Fix electron-updater error handling when spawning a process asynchronously #7524

Conversation

NoahAndrews
Copy link
Contributor

@NoahAndrews NoahAndrews commented Apr 5, 2023

Fixes #7523

When deciding if a process that we attempted to spawn actually started, we need to look at the PID of the spawned process (which will be undefined if it failed to start), not the PID of the original Electron process. #7503 introduced this error.

@changeset-bot
Copy link

changeset-bot bot commented Apr 5, 2023

🦋 Changeset detected

Latest commit: 1e4f314

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
electron-updater Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@netlify
Copy link

netlify bot commented Apr 5, 2023

Deploy Preview for car-park-attendant-cleat-11576 ready!

Name Link
🔨 Latest commit 1e4f314
🔍 Latest deploy log https://app.netlify.com/sites/car-park-attendant-cleat-11576/deploys/642de8f5d1a7fa0008780e85
😎 Deploy Preview https://deploy-preview-7524--car-park-attendant-cleat-11576.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@mmaietta mmaietta merged commit 1a13480 into electron-userland:master Apr 6, 2023
13 checks passed
@mmaietta
Copy link
Collaborator

mmaietta commented Apr 6, 2023

Thank you!

@NoahAndrews NoahAndrews deleted the fix-updater-process-spawn-error-handling branch April 6, 2023 13:30
@github-actions github-actions bot mentioned this pull request Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NSIS: When isAdminRightsRequired is incorrectly set to false in update-info.json, updating fails
2 participants