Upgrade electron to 29.0.0
This commit is contained in:
parent
04a62c27df
commit
2bfb6e7481
8 changed files with 36 additions and 27 deletions
|
@ -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 {};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue