chore: upgrade electron
This commit is contained in:
@@ -121,11 +121,11 @@ export async function createWindowState({
|
||||
window.webContents.session.setSpellCheckerDictionaryDownloadURL('https://dictionaries.standardnotes.org/9.4.4/')
|
||||
|
||||
/** handle link clicks */
|
||||
window.webContents.on('new-window', (event, url) => {
|
||||
window.webContents.setWindowOpenHandler(({ url }) => {
|
||||
if (shouldOpenUrl(url)) {
|
||||
void shell.openExternal(url)
|
||||
}
|
||||
event.preventDefault()
|
||||
return { action: 'deny' }
|
||||
})
|
||||
|
||||
/**
|
||||
|
||||
@@ -34,14 +34,14 @@
|
||||
"hoistingLimits": "workspaces"
|
||||
},
|
||||
"dependencies": {
|
||||
"@electron/remote": "^2.0.8",
|
||||
"@electron/remote": "^2.0.9",
|
||||
"@standardnotes/electron-clear-data": "1.1.1",
|
||||
"@standardnotes/web": "workspace:*",
|
||||
"axios": "^1.1.3",
|
||||
"compare-versions": "^5.0.1",
|
||||
"decrypt": "github:standardnotes/decrypt#master",
|
||||
"dotenv": "^16.0.3",
|
||||
"electron": "21.2.3",
|
||||
"electron": "22.1.0",
|
||||
"electron-log": "^4.4.8",
|
||||
"electron-updater": "^5.3.0",
|
||||
"fs-extra": "^10.1.0",
|
||||
|
||||
Reference in New Issue
Block a user