chore: upgrade desktop deps
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { App, Shell } from 'electron'
|
||||
import { App, Shell, Event } 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[]) => {
|
||||
app.on('second-instance', (_event: Event, argv: string[], _workingDirectory: string, _additionalData: unknown) => {
|
||||
if (isWindows()) {
|
||||
appState.deepLinkUrl = argv.find((arg) => arg.startsWith(deepLinkScheme))
|
||||
}
|
||||
|
||||
@@ -174,7 +174,7 @@ export async function checkForUpdate(appState: AppState, state: UpdateState, use
|
||||
state.setCheckingForUpdate(true)
|
||||
|
||||
try {
|
||||
const result = await autoUpdater.checkForUpdates()
|
||||
const result = userTriggered ? await autoUpdater.checkForUpdatesAndNotify() : await autoUpdater.checkForUpdates()
|
||||
|
||||
if (!result) {
|
||||
return
|
||||
|
||||
@@ -34,52 +34,52 @@
|
||||
"hoistingLimits": "workspaces"
|
||||
},
|
||||
"dependencies": {
|
||||
"@electron/remote": "^2.0.9",
|
||||
"@standardnotes/domain-core": "^1.22.0",
|
||||
"@electron/remote": "^2.0.10",
|
||||
"@standardnotes/domain-core": "^1.23.3",
|
||||
"@standardnotes/electron-clear-data": "1.1.1",
|
||||
"@standardnotes/web": "workspace:*",
|
||||
"axios": "^1.1.3",
|
||||
"compare-versions": "^5.0.1",
|
||||
"axios": "^1.4.0",
|
||||
"compare-versions": "^6.0.0",
|
||||
"decrypt": "github:standardnotes/decrypt#master",
|
||||
"dotenv": "^16.0.3",
|
||||
"electron": "22.1.0",
|
||||
"dotenv": "^16.3.1",
|
||||
"electron": "25.3.1",
|
||||
"electron-log": "^4.4.8",
|
||||
"electron-updater": "^5.3.0",
|
||||
"electron-updater": "^6.1.1",
|
||||
"fs-extra": "^11.1.1",
|
||||
"lodash": "^4.17.21",
|
||||
"mime-types": "^2.1.35",
|
||||
"mobx": "^6.7.0"
|
||||
"mobx": "^6.10.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "*",
|
||||
"@babel/preset-env": "*",
|
||||
"@types/fs-extra": "^11.0.1",
|
||||
"@types/lodash": "^4.14.189",
|
||||
"@types/lodash": "^4.14.196",
|
||||
"@types/mime-types": "^2.1.1",
|
||||
"@types/node": "18",
|
||||
"@types/node": "20",
|
||||
"@types/proxyquire": "^1.3.28",
|
||||
"@types/yauzl": "^2.10.0",
|
||||
"ava": "^5.1.0",
|
||||
"babel-loader": "^9.1.0",
|
||||
"ava": "^5.3.1",
|
||||
"babel-loader": "^9.1.3",
|
||||
"copy-webpack-plugin": "^11.0.0",
|
||||
"electron-builder": "23.6.0",
|
||||
"electron-builder": "24.6.3",
|
||||
"electron-notarize": "^1.2.1",
|
||||
"eslint": "*",
|
||||
"eslint-config-prettier": "^8.5.0",
|
||||
"eslint-plugin-import": "^2.26.0",
|
||||
"eslint-config-prettier": "^8.8.0",
|
||||
"eslint-plugin-import": "^2.27.5",
|
||||
"eslint-plugin-node": "^11.1.0",
|
||||
"eslint-plugin-promise": "^6.1.1",
|
||||
"file-loader": "^6.2.0",
|
||||
"mime-types": "^2.1.35",
|
||||
"prettier": "*",
|
||||
"proxyquire": "^2.1.3",
|
||||
"rimraf": "^3.0.2",
|
||||
"terser-webpack-plugin": "^5.3.6",
|
||||
"ts-loader": "^9.4.1",
|
||||
"rimraf": "^5.0.1",
|
||||
"terser-webpack-plugin": "^5.3.9",
|
||||
"ts-loader": "^9.4.4",
|
||||
"ts-node": "^10.9.1",
|
||||
"typescript": "*",
|
||||
"webpack": "*",
|
||||
"webpack-merge": "^5.8.0"
|
||||
"webpack-merge": "^5.9.0"
|
||||
},
|
||||
"build": {
|
||||
"appId": "org.standardnotes.standardnotes",
|
||||
|
||||
Reference in New Issue
Block a user