-
Notifications
You must be signed in to change notification settings - Fork 16k
fix: Handle an electron.d.ts file in a custom build #33979
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
Conversation
The broken Windows build seems to be a fluke! |
@felixrieseberg Can you re-auth with Circle to kick off the CI builds, you may have to push an empty commit too |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved w/ small typo fix!
@felixrieseberg can you re-authenticate with CircleCI and then push an empty commit to trigger CircleCI testing? |
778d6f8
to
4224f01
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lint failures need to be addressed.
@jkleinsc are you good with these lint changes? |
Release Notes Persisted
|
I was unable to backport this PR to "19-x-y" cleanly; |
* Handle an electron.d.ts file in a custom build * Fix linter issues Co-authored-by: Felix Rieseberg <felixr@stripe.com>
* Handle an electron.d.ts file in a custom build * Fix linter issues Co-authored-by: Felix Rieseberg <felixr@stripe.com>
I have automatically backported this PR to "21-x-y", please check out #35822 |
I have automatically backported this PR to "20-x-y", please check out #35823 |
fix: Handle an electron.d.ts file in a custom build (#33979) * Handle an electron.d.ts file in a custom build * Fix linter issues Co-authored-by: Felix Rieseberg <felixr@stripe.com> Co-authored-by: Felix Rieseberg <felix@felixrieseberg.com> Co-authored-by: Felix Rieseberg <felixr@stripe.com>
fix: Handle an electron.d.ts file in a custom build (#33979) * Handle an electron.d.ts file in a custom build * Fix linter issues Co-authored-by: Felix Rieseberg <felixr@stripe.com> Co-authored-by: Felix Rieseberg <felix@felixrieseberg.com> Co-authored-by: Felix Rieseberg <felixr@stripe.com>
electron.d.ts |
* Fix dangling promise introduced in #33979 * fix reject in callback * simplify code Co-authored-by: Black-Hole <158blackhole@gmail.com> Co-authored-by: Black-Hole <158blackhole@gmail.com>
Co-authored-by: hyrious <hyrious@outlook.com>
Co-authored-by: hyrious <hyrious@outlook.com>
Co-authored-by: hyrious <hyrious@outlook.com>
* Fix dangling promise introduced in #33979 Co-authored-by: hyrious <hyrious@outlook.com> * fix reject in callback Co-authored-by: hyrious <hyrious@outlook.com> * simplify code Co-authored-by: Black-Hole <158blackhole@gmail.com> Co-authored-by: hyrious <hyrious@outlook.com> Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: hyrious <hyrious@outlook.com>
* Fix dangling promise introduced in #33979 Co-authored-by: hyrious <hyrious@outlook.com> * fix reject in callback Co-authored-by: hyrious <hyrious@outlook.com> * simplify code Co-authored-by: Black-Hole <158blackhole@gmail.com> Co-authored-by: hyrious <hyrious@outlook.com> Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: hyrious <hyrious@outlook.com>
* Fix dangling promise introduced in #33979 Co-authored-by: hyrious <hyrious@outlook.com> * fix reject in callback Co-authored-by: hyrious <hyrious@outlook.com> * simplify code Co-authored-by: Black-Hole <158blackhole@gmail.com> Co-authored-by: hyrious <hyrious@outlook.com> Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: hyrious <hyrious@outlook.com>
* Handle an electron.d.ts file in a custom build * Fix linter issues Co-authored-by: Felix Rieseberg <felixr@stripe.com>
* Fix dangling promise introduced in electron#33979 * fix reject in callback * simplify code Co-authored-by: Black-Hole <158blackhole@gmail.com> Co-authored-by: Black-Hole <158blackhole@gmail.com>
Description of Change
Right now, if you use a custom build or a mirror during the installation of Electron, you will always get the
electron.d.ts
file that was part of the npm package - and not the one that's part of your custom build or mirror.With this change, during installation, we check if the downloaded zip file contained an
electron.d.ts
file. If so, we move it one level up.Checklist
npm test
passesRelease Notes
Notes: Fixed: If a custom Electron build contains an electron.d.ts file, it is now being used.