修复windows平台下软件目录存在portable文件夹时,仍会在默认目录创建文件的问题
This commit is contained in:
@@ -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')
|
||||
})
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user