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' }
|
||||
})
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user