From e95553163cf6db89bb70202e5cda1d2c89d74143 Mon Sep 17 00:00:00 2001 From: lyswhut Date: Mon, 26 Apr 2021 14:13:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=85=A8=E5=B1=80=E5=BF=AB?= =?UTF-8?q?=E6=8D=B7=E9=94=AE=E5=AF=B9=E6=A1=8C=E9=9D=A2=E6=AD=8C=E8=AF=8D?= =?UTF-8?q?=E6=97=A0=E6=95=88=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- publish/changeLog.md | 19 +------------------ src/main/modules/winLyric/event.js | 3 +-- 2 files changed, 2 insertions(+), 20 deletions(-) diff --git a/publish/changeLog.md b/publish/changeLog.md index 0dc82fc3..8075aa08 100644 --- a/publish/changeLog.md +++ b/publish/changeLog.md @@ -1,20 +1,3 @@ -### 新增 - -- 新增启动参数`-dhmkh`,此参数将禁用Chromium的Hardware Media Key Handling特性,用于解决漫步者部分型号耳机与本程序冲突导致耳机意外关机的问题 -- 新增Windows arm64位免安装版的构建 -- 新增黑色皮肤“黑灯瞎火”,有关于皮肤配色的建议欢迎反馈 -- 新增自动换源下载功能,默认关闭,当无法从歌曲的原始源下载时,将尝试切换到其他源下载,注:此功能不100%保证换源后的歌曲版本与原版一致 - -### 优化 - -- 程序启动时对数据文件做读取校验,数据出现损坏时自动备份损坏的数据,若出现数据读取错误的弹窗并出现我的列表丢失时可到GitHub或加群反馈 -- 当设置-代理启用,但主机地址为空的时,将不再使用代理配置进行网络连接,并且在离开设置界面时自动禁用代理 -- 优化歌曲自动换源匹配 -- 分离歌词与歌曲列表信息的保存,以减小列表列表文件损坏的几率 -- 兼容打开咪咕移动端分享的歌单链接,添加打开歌单的信息显示 - ### 修复 -- 修复备份与恢复功能在恢复数据时某些设置不立即生效的问题 -- 修正设置页“搜索设置”部分内容的缩进显示问题 -- 修复正在播放“稍后播放”的歌曲时,对“稍后播放”前播放的列表进行添加、删除操作会导致切歌的问题 +- 修复全局快捷键对桌面歌词无效的问题 diff --git a/src/main/modules/winLyric/event.js b/src/main/modules/winLyric/event.js index 99fabf5b..785d2077 100644 --- a/src/main/modules/winLyric/event.js +++ b/src/main/modules/winLyric/event.js @@ -2,7 +2,6 @@ const { common: COMMON_EVENT_NAME, winLyric: WIN_LYRIC_EVENT_NAME, hotKey: HOT_K const { mainSend, NAMES: { winLyric: ipcWinLyricNames } } = require('../../../common/ipc') const { desktop_lyric } = require('../../../common/hotKey') const { getLyricWindowBounds } = require('./utils') -const { updateSetting } = require('../../utils') let isLock = null let isEnable = null @@ -78,5 +77,5 @@ global.lx_event.hotKey.on(HOT_KEY_EVENT_NAME.keyDown, ({ type, key }) => { } desktopLyricSetting[settingKey] = !desktopLyricSetting[settingKey] - updateSetting({ desktopLyric: desktopLyricSetting }, null) + global.lx_core.setAppConfig({ desktopLyric: desktopLyricSetting }, null) })