Upgrade electron to 29.0.0

This commit is contained in:
Fedor Indutny 2024-02-22 13:19:37 -08:00 committed by GitHub
parent 04a62c27df
commit 2bfb6e7481
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 36 additions and 27 deletions

View file

@ -29,10 +29,7 @@ import {
systemPreferences,
Notification,
} from 'electron';
import type {
MenuItemConstructorOptions,
LoginItemSettingsOptions,
} from 'electron';
import type { MenuItemConstructorOptions, Settings } from 'electron';
import { z } from 'zod';
import packageJson from '../package.json';
@ -1695,7 +1692,7 @@ function loadPreferredSystemLocales(): Array<string> {
return app.getPreferredSystemLanguages();
}
async function getDefaultLoginItemSettings(): Promise<LoginItemSettingsOptions> {
async function getDefaultLoginItemSettings(): Promise<Settings> {
if (!OS.isWindows()) {
return {};
}