-
Notifications
You must be signed in to change notification settings - Fork 842
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
[MM-61271] Upgrade to Electron v33.0.2 #3181
Conversation
@@ -0,0 +1,33 @@ | |||
diff --git a/node_modules/electron/electron.d.ts b/node_modules/electron/electron.d.ts |
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.
This patch is needed due to an issue in Electron's typing for this module that caused a bug. A fix is waiting to be merged, but for now we'll use this patch.
electron/electron#44391
} else { | ||
focusedWindow.webContents.openDevTools({mode: 'detach'}); | ||
} | ||
click() { |
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.
This used to matter when we had the Settings and Main windows, but now we just have the main one so we can assume we're using that one.
Here are the test results below: |
Here are the test results below: |
|
||
#if defined(V8_MAJOR_VERSION) && (V8_MAJOR_VERSION > 11 \ | ||
- && defined(V8_MINOR_VERSION) && V8_MINOR_VERSION > 7) | ||
+ && defined(V8_MINOR_VERSION) && (V8_MAJOR_VERSION > 12 || (V8_MAJOR_VERSION == 11 && V8_MINOR_VERSION > 7))) |
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.
The most recent Electron version bumped V8 to version 13, but that hasn't been updated in nan
yet. A PR to do so is already open: nodejs/nan#979
Cherry pick is scheduled. |
* [MM-61271] Upgrade to Electron v33.0.2 * Fix node-abi * Fix and patch nan (cherry picked from commit 14bb75e)
Summary
Upgrade to Electron v33.0.2. Some deprecations were addressed, but otherwise nothing major should be changed.
Ticket Link
https://mattermost.atlassian.net/browse/MM-61271