Revert "chore: upgrade desktop deps"

This reverts commit 47a36c4cbd.
This commit is contained in:
Mo
2023-07-26 07:36:39 -05:00
parent 868a84f587
commit ef2d1b9228
102 changed files with 377 additions and 706 deletions

View File

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