Skip to content

Commit

Permalink
SDA-4717 Bump electron version
Browse files Browse the repository at this point in the history
  • Loading branch information
KiranNiranjan committed Oct 28, 2024
1 parent 96c7c91 commit 4ed4d28
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 12 deletions.
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@
"cheerio": "v1.0.0-rc.12",
"cross-env": "7.0.3",
"del": "3.0.0",
"electron": "32.1.2",
"electron": "33.0.2",
"electron-builder": "^24.13.2",
"electron-devtools-installer": "^3.2.0",
"electron-icon-maker": "0.0.5",
Expand Down
4 changes: 0 additions & 4 deletions src/app/window-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -559,10 +559,6 @@ export class WindowHandler {
});
});

this.mainWindow.once('ready-to-show', (event: Event) => {
logger.info(`window-handler: Main Window ready to show: ${event}`);
});

this.mainWebContents.on(
'did-fail-load',
(_, errorCode: number, errorDescription: string) => {
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/notification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ class Notification extends NotificationHandler {

// This is a workaround to fix an issue with electron framework
// https://github.com/electron/electron/issues/611
notificationWindow.on('resize', (event) => {
notificationWindow.on('will-resize', (event) => {
event.preventDefault();
});

Expand Down

0 comments on commit 4ed4d28

Please sign in to comment.