Bump Electron to v24

This commit is contained in:
Baptiste Clarey Sjostrand
2023-06-15 10:25:34 +02:00
committed by Salah Benmoussati
parent 5eb67dbe63
commit 9460db9f0e
5 changed files with 1656 additions and 1475 deletions

3121
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -174,7 +174,7 @@
"builder-util-runtime": "^9.0.3",
"cross-env": "7.0.3",
"del": "3.0.0",
"electron": "^23.1.0",
"electron": "^24",
"electron-builder": "^24.2.1",
"electron-icon-maker": "0.0.5",
"electron-osx-sign": "^0.6.0",

View File

@@ -103,7 +103,7 @@ export const cleanAppCacheOnCrash = (window: BrowserWindow): void => {
) {
return;
}
const options = {
const options: Electron.MessageBoxOptions = {
type: 'question',
title: i18n.t('Relaunch Application')(),
message: i18n.t(

View File

@@ -178,7 +178,7 @@ export const titleBarChangeDialog = async (
if (!focusedWindow || !windowExists(focusedWindow)) {
return;
}
const options = {
const options: Electron.MessageBoxOptions = {
type: 'question',
title: i18n.t('Relaunch Application')(),
message: i18n.t(
@@ -208,7 +208,7 @@ export const restartDialog = async (configFields: any) => {
if (!focusedWindow || !windowExists(focusedWindow)) {
return;
}
const options = {
const options: Electron.MessageBoxOptions = {
type: 'question',
title: i18n.t('Relaunch Application')(),
message: i18n.t(

View File

@@ -2343,7 +2343,7 @@ export class WindowHandler {
`window handler: build expired, will inform the user and quit the app!`,
);
const options = {
const options: Electron.MessageBoxOptions = {
type: 'error',
title: i18n.t('Build expired')(),
message: i18n.t(