chore: upgrade desktop deps

This commit is contained in:
Mo
2023-07-26 05:09:41 -05:00
parent 7222ca7fd0
commit 47a36c4cbd
102 changed files with 710 additions and 381 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1,4 +1,4 @@
import { App, Shell } from 'electron' import { App, Shell, Event } from 'electron'
import { AppState } from './AppState' import { AppState } from './AppState'
import { createExtensionsServer } from './javascripts/Main/ExtensionsServer' import { createExtensionsServer } from './javascripts/Main/ExtensionsServer'
import { Keychain } from './javascripts/Main/Keychain/Keychain' import { Keychain } from './javascripts/Main/Keychain/Keychain'
@@ -52,7 +52,7 @@ function focusWindow(appState: AppState) {
} }
function registerSingleInstanceHandler(app: Electron.App, appState: AppState) { function registerSingleInstanceHandler(app: Electron.App, appState: AppState) {
app.on('second-instance', (_event: Event, argv: string[]) => { app.on('second-instance', (_event: Event, argv: string[], _workingDirectory: string, _additionalData: unknown) => {
if (isWindows()) { if (isWindows()) {
appState.deepLinkUrl = argv.find((arg) => arg.startsWith(deepLinkScheme)) appState.deepLinkUrl = argv.find((arg) => arg.startsWith(deepLinkScheme))
} }

View File

@@ -174,7 +174,7 @@ export async function checkForUpdate(appState: AppState, state: UpdateState, use
state.setCheckingForUpdate(true) state.setCheckingForUpdate(true)
try { try {
const result = await autoUpdater.checkForUpdates() const result = userTriggered ? await autoUpdater.checkForUpdatesAndNotify() : await autoUpdater.checkForUpdates()
if (!result) { if (!result) {
return return

Some files were not shown because too many files have changed in this diff Show More