Skip to content

Commit 42604ec

Browse files
committed
Merge branch 'dev'
2 parents 36ed7bc + caaa62d commit 42604ec

16 files changed

Lines changed: 1292 additions & 1525 deletions

File tree

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@ 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.2.1](https://github.com/lyswhut/lx-music-desktop/compare/v1.2.0...v1.2.1) - 2020-10-18
10+
11+
### 优化
12+
13+
- Linux版的软件界面默认使用圆角与阴影,顺便修复了桌面歌词窗口变白的问题,已在Ubuntu 18.10测试正常,若显示异常可尝试添加`-nt`参数启动
14+
15+
### 修复
16+
17+
- 修复聚合搜索的分页问题
18+
- 修复代理输入框输入的内容不生效的问题
19+
920
## [1.2.0](https://github.com/lyswhut/lx-music-desktop/compare/v1.1.1...v1.2.0) - 2020-09-30
1021

1122
提前祝大家中秋&国庆快乐~

FAQ.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141

4242
### Windows 7 系统桌面歌词显示异常
4343

44-
Windows 7 未开启 Aero 效果时桌面歌词会有问题,详情看下面的**Windows 7 下界面异常(界面显示不完整)**方法解决。
44+
Windows 7 未开启 Aero 效果时桌面歌词会有问题,详情看下面的 **Windows 7 下界面异常(界面显示不完整)** 方法解决。
4545

4646
### MAC OS 系统、桌面歌词有残留阴影
4747

@@ -87,11 +87,11 @@ Windows 7 未开启 Aero 效果时桌面歌词会有问题,详情看下面的*
8787
因此,当 win7 没有使用**AERO**主题时界面将会显示异常,开启AERO的方法请自行百度:`win7开启aero效果`(开启后可看到任务栏变透明)。<br>
8888
`0.14.0`版本起不再强制要求开启透明效果,若你实在不想开启(若非电脑配置太低,墙裂建议开启!),可通过添加运行参数`-nt`来运行程序即可,例如:`.\lx-music-desktop.exe -nt`,添加方法可自行百度“给快捷方式加参数”,该参数的作用是用来控制程序是否使用非透明窗口运行。
8989

90-
对于一些完全无法正常显示界面的情况,请阅读下面的 **软件启动后,界面无法显示**
90+
对于一些完全无法正常显示界面、开启了AERO后问题仍未解决的情况,请阅读下面的 **软件启动后,界面无法显示** 解决
9191

9292
## 软件启动后,界面无法显示
9393

94-
软件启动后,可以在任务栏看到软件,但软件界面在桌面上无任何显示。<br>
94+
对于软件启动后,可以在任务栏看到软件,但软件界面在桌面上无任何显示,或者整个界面偶尔闪烁的情况。<br>
9595
原始问题看:<https://github.com/electron/electron/issues/19569#issuecomment-522231083><br>
9696
解决办法:下载`.NET Framework 4.7.1`**更高**版本安装即可(建议安装最新版,若安装过程中遇到问题可尝试自行百度解决)。<br>
9797
微软官方下载地址:<https://dotnet.microsoft.com/download/dotnet-framework><br>
@@ -136,5 +136,6 @@ Windows 7 未开启 Aero 效果时桌面歌词会有问题,详情看下面的*
136136

137137
## 无法打开外部歌单
138138

139+
不支持垮源打开歌单,请确认你需要打开的歌单平台是否与软件标签所写的歌单源对应;<br>
139140
对于分享出来的歌单,若打开失败,可尝试先在浏览器中打开后,再从浏览器地址栏复制URL地址到软件打开;<br>
140141
或者如果你知道歌单 id 也可以直接输入歌单 id 打开。<br>

build-config/main/webpack.config.dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module.exports = merge(baseConfig, {
2323
onErrors(severity, errors) { // Silent warning from electron-debug
2424
if (severity != 'warning') return
2525

26-
for (let i = errors.length; i > -1; i--) {
26+
for (let i = errors.length - 1; i > -1; i--) {
2727
const error = errors[i]
2828
if (error.file == './node_modules/electron-debug/index.js') errors.splice(i, 1)
2929
}

build-config/renderer-lyric/webpack.config.prod.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,11 @@ module.exports = merge(baseConfig, {
3232
NODE_ENV: '"production"',
3333
},
3434
}),
35-
new webpack.NamedChunksPlugin(),
3635
],
3736
optimization: {
37+
chunkIds: 'named',
3838
minimizer: [
39-
new TerserPlugin({
40-
cache: true,
41-
parallel: true,
42-
sourceMap: false, // set to true if you want JS source maps
43-
}),
39+
new TerserPlugin(),
4440
new OptimizeCSSAssetsPlugin({}),
4541
],
4642
},

build-config/renderer/webpack.config.prod.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,11 @@ module.exports = merge(baseConfig, {
3232
NODE_ENV: '"production"',
3333
},
3434
}),
35-
new webpack.NamedChunksPlugin(),
3635
],
3736
optimization: {
37+
chunkIds: 'named',
3838
minimizer: [
39-
new TerserPlugin({
40-
cache: true,
41-
parallel: true,
42-
sourceMap: false, // set to true if you want JS source maps
43-
}),
39+
new TerserPlugin(),
4440
new OptimizeCSSAssetsPlugin({}),
4541
],
4642
},

package-lock.json

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

package.json

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lx-music-desktop",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"description": "一个免费的音乐下载助手",
55
"main": "./dist/electron/main.js",
66
"productName": "lx-music-desktop",
@@ -158,29 +158,29 @@
158158
},
159159
"homepage": "https://github.com/lyswhut/lx-music-desktop#readme",
160160
"devDependencies": {
161-
"@babel/core": "^7.11.6",
161+
"@babel/core": "^7.12.3",
162162
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
163-
"@babel/plugin-transform-modules-umd": "^7.10.4",
164-
"@babel/plugin-transform-runtime": "^7.11.5",
165-
"@babel/polyfill": "^7.11.5",
166-
"@babel/preset-env": "^7.11.5",
163+
"@babel/plugin-transform-modules-umd": "^7.12.1",
164+
"@babel/plugin-transform-runtime": "^7.12.1",
165+
"@babel/polyfill": "^7.12.1",
166+
"@babel/preset-env": "^7.12.1",
167167
"babel-eslint": "^10.1.0",
168168
"babel-loader": "^8.1.0",
169169
"babel-minify-webpack-plugin": "^0.3.1",
170170
"babel-preset-minify": "^0.5.1",
171171
"cfonts": "^2.8.6",
172172
"chalk": "^4.1.0",
173173
"changelog-parser": "^2.8.0",
174-
"copy-webpack-plugin": "^6.1.1",
174+
"copy-webpack-plugin": "^6.2.1",
175175
"core-js": "^3.6.5",
176176
"cross-env": "^7.0.2",
177177
"css-loader": "^4.3.0",
178178
"del": "^6.0.0",
179179
"electron": "^10.1.3",
180-
"electron-builder": "^22.8.1",
180+
"electron-builder": "^22.9.1",
181181
"electron-debug": "^3.1.0",
182182
"electron-devtools-installer": "^3.1.1",
183-
"eslint": "^7.10.0",
183+
"eslint": "^7.11.0",
184184
"eslint-config-standard": "^14.1.1",
185185
"eslint-formatter-friendly": "^7.0.0",
186186
"eslint-loader": "^4.0.2",
@@ -189,39 +189,39 @@
189189
"eslint-plugin-node": "^11.1.0",
190190
"eslint-plugin-promise": "^4.2.1",
191191
"eslint-plugin-standard": "^4.0.1",
192-
"file-loader": "^6.1.0",
192+
"file-loader": "^6.1.1",
193193
"friendly-errors-webpack-plugin": "^1.7.0",
194194
"html-webpack-plugin": "^4.5.0",
195195
"less": "^3.12.2",
196-
"less-loader": "^7.0.1",
196+
"less-loader": "^7.0.2",
197197
"markdown-it": "^11.0.1",
198-
"mini-css-extract-plugin": "^0.11.2",
198+
"mini-css-extract-plugin": "^0.12.0",
199199
"optimize-css-assets-webpack-plugin": "^5.0.4",
200-
"postcss-loader": "^4.0.2",
200+
"postcss-loader": "^4.0.4",
201201
"postcss-pxtorem": "^5.1.1",
202202
"pug": "^3.0.0",
203203
"pug-loader": "^2.4.0",
204204
"pug-plain-loader": "^1.0.0",
205-
"raw-loader": "^4.0.1",
205+
"raw-loader": "^4.0.2",
206206
"rimraf": "^3.0.2",
207207
"spinnies": "^0.5.1",
208208
"stylus": "^0.54.8",
209-
"stylus-loader": "^3.0.2",
210-
"terser-webpack-plugin": "^4.2.2",
211-
"url-loader": "^4.1.0",
209+
"stylus-loader": "^4.1.1",
210+
"terser-webpack-plugin": "^4.2.3",
211+
"url-loader": "^4.1.1",
212212
"vue-loader": "^15.9.3",
213213
"vue-template-compiler": "^2.6.12",
214214
"webpack": "^4.44.2",
215215
"webpack-cli": "^3.3.12",
216216
"webpack-dev-server": "^3.11.0",
217217
"webpack-hot-middleware": "^2.25.0",
218-
"webpack-merge": "^5.1.4"
218+
"webpack-merge": "^5.2.0"
219219
},
220220
"dependencies": {
221221
"crypto-js": "^4.0.0",
222222
"dnscache": "^1.0.2",
223223
"electron-log": "^4.2.4",
224-
"electron-store": "^6.0.0",
224+
"electron-store": "^6.0.1",
225225
"electron-updater": "^4.3.5",
226226
"iconv-lite": "^0.6.2",
227227
"image-size": "^0.9.1",
@@ -231,8 +231,8 @@
231231
"node-id3": "^0.1.19",
232232
"request": "^2.88.2",
233233
"vue": "^2.6.12",
234-
"vue-i18n": "^8.21.1",
235-
"vue-router": "^3.4.5",
234+
"vue-i18n": "^8.22.0",
235+
"vue-router": "^3.4.7",
236236
"vuex": "^3.5.1",
237237
"vuex-router-sync": "^5.0.0"
238238
}

publish/changeLog.md

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,8 @@
1-
提前祝大家中秋&国庆快乐~
2-
3-
### 新增
4-
5-
- 播放控制栏开启/关闭桌面歌词按钮 新增右击按钮时锁定/解锁桌面歌词功能
6-
71
### 优化
82

9-
- 优化我的列表滚动条位置的保存逻辑
10-
- 更新设置-备份与恢复功能的描述
11-
- 优化软件内鼠标悬停的提示界面
3+
- Linux版的软件界面默认使用圆角与阴影,顺便修复了桌面歌词窗口变白的问题,已在Ubuntu 18.10测试正常,若显示异常可尝试添加`-nt`参数启动
124

135
### 修复
146

15-
- 修复桌面歌词窗口不允许拖出桌面之外的位置计算偏移Bug
16-
- 修复网易云KTV嗨榜无法加载的问题
17-
- 修复初始化搜索历史列表功能
18-
- 修复重启软件后试听列表与收藏列表无法恢复上次的滚动位置的问题
19-
- 修复歌曲封面无法嵌入的Bug
20-
- 修复酷狗歌词格式问题
21-
- 修复关闭切换动画时从搜索候选列表点击内容无效的问题
22-
23-
### 其他
24-
25-
- 更新 Electron 到 v10.1.3
7+
- 修复聚合搜索的分页问题
8+
- 修复代理输入框输入的内容不生效的问题

publish/version.json

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

src/main/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ function createWindow() {
9595
useContentSize: true,
9696
width: windowSizeInfo.width,
9797
frame: false,
98-
transparent: !isLinux && !global.envParams.nt,
98+
transparent: !global.envParams.nt,
9999
enableRemoteModule: false,
100100
// icon: path.join(global.__static, isWin ? 'icons/256x256.ico' : 'icons/512x512.png'),
101101
resizable: false,
@@ -133,7 +133,8 @@ function init() {
133133
createWindow()
134134
}
135135

136-
app.on('ready', init)
136+
// https://github.com/electron/electron/issues/16809
137+
app.on('ready', isLinux ? () => setTimeout(init, 300) : init)
137138

138139
app.on('activate', () => {
139140
if (global.modules.mainWindow) {

0 commit comments

Comments
 (0)