Skip to content

Commit e3dddb9

Browse files
committed
Merge branch 'dev'
2 parents 0580b05 + 47ce71c commit e3dddb9

11 files changed

Lines changed: 276 additions & 310 deletions

File tree

.ncurc.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
module.exports = {
22
upgrade: true,
3-
// target: 'newest',
43
reject: [
54
'electron',
65
'electron-builder',
76
'chalk',
8-
]
7+
],
8+
// target: 'newest',
9+
// filter: [
10+
// /^vue/,
11+
// ],
912
}

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,21 @@ Project versioning adheres to [Semantic Versioning](http://semver.org/).
66
Commit convention is based on [Conventional Commits](http://conventionalcommits.org).
77
Change log format is based on [Keep a Changelog](http://keepachangelog.com/).
88

9+
## [1.17.1](https://github.com/lyswhut/lx-music-desktop/compare/v1.17.0...v1.17.1) - 2022-01-28
10+
11+
### 优化
12+
13+
- 优化kw源英文与翻译歌词的匹配
14+
15+
### 修复
16+
17+
- 修复快捷键与默认按键行为冲突的问题,现在若将某些有默认行为的按键(如在列表中上、下箭头、Home、End等键可以使列表滚动)设置为快捷键时,将禁用其默认行为
18+
- 修复列表的聚焦问题,现在在列表中使用上、下箭头、空格等键滚动列表时不会导致滚动到一定距离后丢失焦点的问题
19+
20+
### 其他
21+
22+
- 更新electron到v13.6.8
23+
924
## [1.17.0](https://github.com/lyswhut/lx-music-desktop/compare/v1.16.0...v1.17.0) - 2022-01-22
1025

1126
### 新增

FAQ.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ Windows 7 未开启 Aero 效果时桌面歌词会有问题,详情看上面的
300300
## Scheme URL支持
301301

302302
从v1.17.0起支持 Scheme URL,可以使用此功能从浏览器等场景下调用LX Music,我们开发了一个[油猴脚本](https://github.com/lyswhut/lx-music-script#readme)配套使用<br>
303-
脚本安装地址:<https://greasyfork.org/zh-CN/scripts/438148-lx-msuic-%E8%BE%85%E5%8A%A9%E8%84%9A%E6%9C%AC><br>
303+
脚本安装地址:<https://greasyfork.org/zh-CN/scripts/438148><br>
304304
以下是目前可用的Scheme URL调用方式:
305305

306306
- URL统一以`lxmusic://`开头

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
#### Scheme URL支持
5454

5555
从v1.17.0起支持 Scheme URL,可以使用此功能从浏览器等场景下调用LX Music,我们开发了一个[油猴脚本](https://github.com/lyswhut/lx-music-script#readme)配套使用,<br>
56-
脚本安装地址:<https://greasyfork.org/zh-CN/scripts/438148-lx-msuic-%E8%BE%85%E5%8A%A9%E8%84%9A%E6%9C%AC><br>
56+
脚本安装地址:<https://greasyfork.org/zh-CN/scripts/438148><br>
5757

5858
#### 启动参数
5959

package-lock.json

Lines changed: 219 additions & 264 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lx-music-desktop",
3-
"version": "1.17.0",
3+
"version": "1.17.1",
44
"description": "一个免费的音乐查找助手",
55
"main": "./dist/electron/main.js",
66
"productName": "lx-music-desktop",
@@ -70,7 +70,7 @@
7070
"up": "cross-env ELECTRON_GET_USE_PROXY=true GLOBAL_AGENT_HTTPS_PROXY=http://localhost:1081 npm i"
7171
},
7272
"browserslist": [
73-
"Electron 13.6.7"
73+
"Electron 13.6.8"
7474
],
7575
"engines": {
7676
"node": ">= 14"
@@ -173,7 +173,7 @@
173173
},
174174
"homepage": "https://github.com/lyswhut/lx-music-desktop#readme",
175175
"devDependencies": {
176-
"@babel/core": "^7.16.10",
176+
"@babel/core": "^7.16.12",
177177
"@babel/eslint-parser": "^7.16.5",
178178
"@babel/plugin-proposal-class-properties": "^7.16.7",
179179
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
@@ -193,11 +193,11 @@
193193
"css-loader": "^6.5.1",
194194
"css-minimizer-webpack-plugin": "^3.4.1",
195195
"del": "^6.0.0",
196-
"electron": "^13.6.7",
196+
"electron": "^13.6.8",
197197
"electron-builder": "^22.11.7",
198198
"electron-debug": "^3.2.0",
199199
"electron-devtools-installer": "^3.2.0",
200-
"electron-to-chromium": "^1.4.51",
200+
"electron-to-chromium": "^1.4.56",
201201
"eslint": "^8.7.0",
202202
"eslint-config-standard": "^16.0.3",
203203
"eslint-formatter-friendly": "^7.0.0",
@@ -206,14 +206,14 @@
206206
"eslint-plugin-node": "^11.1.0",
207207
"eslint-plugin-promise": "^6.0.0",
208208
"eslint-plugin-standard": "^4.1.0",
209-
"eslint-plugin-vue": "^8.3.0",
209+
"eslint-plugin-vue": "^8.4.0",
210210
"eslint-webpack-plugin": "^3.1.1",
211211
"file-loader": "^6.2.0",
212212
"html-webpack-plugin": "^5.5.0",
213213
"less": "^4.1.2",
214214
"less-loader": "^10.2.0",
215215
"markdown-it": "^12.3.2",
216-
"mini-css-extract-plugin": "^2.5.2",
216+
"mini-css-extract-plugin": "^2.5.3",
217217
"node-loader": "^2.0.0",
218218
"postcss": "^8.4.5",
219219
"postcss-loader": "^6.2.1",
@@ -232,7 +232,7 @@
232232
"vue-loader": "^17.0.0",
233233
"vue-template-compiler": "^2.6.14",
234234
"webpack": "^5.67.0",
235-
"webpack-cli": "^4.9.1",
235+
"webpack-cli": "^4.9.2",
236236
"webpack-dev-server": "^4.7.3",
237237
"webpack-hot-middleware": "github:lyswhut/webpack-hot-middleware#329c4375134b89d39da23a56a94db651247c74a1",
238238
"webpack-merge": "^5.8.0"
@@ -256,8 +256,8 @@
256256
"socket.io": "^4.4.1",
257257
"sortablejs": "^1.14.0",
258258
"utf-8-validate": "^5.0.8",
259-
"vue": "^3.2.26",
260-
"vue-i18n": "^9.2.0-beta.26",
259+
"vue": "^3.2.29",
260+
"vue-i18n": "^9.2.0-beta.29",
261261
"vue-router": "^4.0.12",
262262
"vuex": "^4.0.2"
263263
}

publish/changeLog.md

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,12 @@
1-
### 新增
2-
3-
- 新增“便携”功能,在Windows平台下,若程序目录下存在 portable 目录,则自动使用此目录作为数据存储目录
4-
- 新增 Scheme URL 支持,同时发布lx-music-script项目配合使用(一个油猴脚本,可以在浏览器中的官方平台网页直接调用LX Music),Scheme URL的调用说明看Readme.md文档的Scheme URL支持部分
5-
- 新增启动参数`-proxy-server``-proxy-bypass-list`,详细介绍看Readme.md文档的启动参数部分
6-
- 新增桌面歌词是否延迟滚动设置,默认开启,若你不想要桌面歌词延迟滚动可以去设置-桌面歌词设置关掉
7-
81
### 优化
92

10-
- 为可视化音频的频谱整体添加频谱均值加成,使频谱显示更有节奏感
11-
- 优化程序初始化逻辑,修复无网络的情况下的初始化问题
12-
- 我的列表-列表名的右击菜单更新已收藏的在线列表时,将始终重新加载,不再使用缓存,解决在原平台更新歌单后,在LX点击更新可能看到的还是在原平台更新前的歌单的问题
3+
- 优化kw源英文与翻译歌词的匹配
134

145
### 修复
156

16-
- 修复代理不生效的问题
17-
- 修复`openDevTools`选项无效的问题
18-
- 修复播放状态的提示问题
19-
- 修复tx源无搜索结果的问题
7+
- 修复快捷键与默认按键行为冲突的问题,现在若将某些有默认行为的按键(如在列表中上、下箭头、Home、End等键可以使列表滚动)设置为快捷键时,将禁用其默认行为
8+
- 修复列表的聚焦问题,现在在列表中使用上、下箭头、空格等键滚动列表时不会导致滚动到一定距离后丢失焦点的问题
209

2110
### 其他
2211

23-
- 更新 Electron 到 v13.6.7
12+
- 更新electron到v13.6.8

publish/version.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/renderer/components/base/VirtualizedList.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<component :is="containerEl" :class="containerClass" ref="dom_scrollContainer" style="height: 100%; overflow: auto; position: relative; display: block; contain: strict;">
2+
<component :is="containerEl" :class="containerClass" tabindex="0" ref="dom_scrollContainer" style="outline: none; height: 100%; overflow: auto; position: relative; display: block; contain: strict;">
33
<component :is="contentEl" :class="contentClass" :style="contentStyle">
44
<div v-for="item in views" :key="item.key" :style="item.style">
55
<slot name="default" v-bind="{ item: item.item, index: item.index }" />

src/renderer/event/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ eventHub.on(baseName.bindKey, () => {
2525
eventHub.emit(baseName.key_down, { event, keys, key, type })
2626
// console.log(event, key)
2727
if (!window.isEditingHotKey && appHotKeyConfig.local.enable && appHotKeyConfig.local.keys[key]) {
28+
event.preventDefault()
2829
if (type == 'up') return
2930

3031
// 软件内快捷键的最小化触发时

0 commit comments

Comments
 (0)