diff --git a/publish/changeLog.md b/publish/changeLog.md index b1bd03c6..d2648165 100644 --- a/publish/changeLog.md +++ b/publish/changeLog.md @@ -21,6 +21,7 @@ - 修复wy源某些歌曲获取歌词翻译的问题处理 - 修复下载功能的歌词换源时会进入死循环的问题 - 修复某些歌曲无法下载的问题 +- 修复windows平台下软件目录存在`portable`文件夹时,仍会创建`C:\Users\\AppData\Roaming\lx-music-desktop\Dictionaries\en-US-9-0.bdic`文件的问题,现在不会再创建文件,但仍会创建空目录(Electron的问题,目前暂无解决方法) ### 其他 diff --git a/src/main/index.js b/src/main/index.js index 9da5bba4..848e05a2 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -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') })