Skip to content

Commit

Permalink
update to Electron 34
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanfbrito committed Jan 22, 2025
1 parent 1106a88 commit 6dfcc31
Show file tree
Hide file tree
Showing 3 changed files with 520 additions and 159 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@
"chokidar": "~3.5.3",
"conventional-changelog-cli": "~4.1.0",
"convert-svg-to-png": "~0.6.4",
"electron": "31.6.0",
"electron-builder": "24.13.3",
"electron": "34.0.0",
"electron-builder": "25.1.8",
"electron-devtools-installer": "^3.2.0",
"electron-notarize": "^1.2.2",
"eslint": "~8.56.0",
Expand Down
4 changes: 2 additions & 2 deletions src/ui/main/rootWindow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,8 @@ export const setupRootWindow = (): void => {

rootWindow.addListener('close', async () => {
if (rootWindow?.isFullScreen()) {
await new Promise((resolve) =>
rootWindow.once('leave-full-screen', resolve)
await new Promise<void>((resolve) =>
rootWindow.once('leave-full-screen', () => resolve())
);
rootWindow.setFullScreen(false);
}
Expand Down
Loading

0 comments on commit 6dfcc31

Please sign in to comment.