修复windows平台下软件目录存在portable文件夹时,仍会在默认目录创建文件的问题

This commit is contained in:
lyswhut
2022-02-24 13:09:13 +08:00
parent d3b5171237
commit d6ca9e4539
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -129,6 +129,10 @@ app.on('web-contents-created', (event, contents) => {
event.preventDefault()
}
})
// disable create dictionary
// https://github.com/lyswhut/lx-music-desktop/issues/773
contents.session.setSpellCheckerDictionaryDownloadURL('http://0.0.0.0')
})