发布v2.1.2

pull/1211/head v2.1.2
lyswhut 2023-02-18 19:57:55 +08:00
parent afd8d692fd
commit 067ca91c4d
5 changed files with 23 additions and 11 deletions

View File

@ -6,6 +6,14 @@ Project versioning adheres to [Semantic Versioning](http://semver.org/).
Commit convention is based on [Conventional Commits](http://conventionalcommits.org).
Change log format is based on [Keep a Changelog](http://keepachangelog.com/).
## [2.1.2](https://github.com/lyswhut/lx-music-desktop/compare/v2.1.1...v2.1.2) - 2023-02-18
### 修复
- 修复处于最新版本时更新弹窗日志内容显示异常的问题
- 修复更新到最新版本后的首次启动时的更新日志未显示的问题
## [2.1.1](https://github.com/lyswhut/lx-music-desktop/compare/v2.1.0...v2.1.1) - 2023-02-18

View File

@ -1,6 +1,6 @@
{
"name": "lx-music-desktop",
"version": "2.1.1",
"version": "2.1.2",
"description": "一个免费的音乐查找助手",
"main": "./dist/main.js",
"productName": "lx-music-desktop",

View File

@ -1,4 +1,5 @@
### 修复
- 修复检查更新日志地址不正确的问题
- 修复处于最新版本时更新弹窗日志内容显示异常的问题
- 修复更新到最新版本后的首次启动时的更新日志未显示的问题

File diff suppressed because one or more lines are too long

View File

@ -139,7 +139,7 @@ export default () => {
const rUpdateAvailable = onUpdateAvailable(({ params: info }) => {
// versionInfo.isDownloading = true
console.log(info)
// console.log(info)
versionInfo.newVersion = {
version: info.version,
desc: info.releaseNotes as string,
@ -152,13 +152,16 @@ export default () => {
})
const rUpdateNotAvailable = onUpdateNotAvailable(({ params: info }) => {
clearUpdateTimeout()
versionInfo.newVersion = {
version: info.version,
desc: info.releaseNotes as string,
}
versionInfo.isLatest = true
versionInfo.isUnknown = false
versionInfo.status = 'idle'
// versionInfo.newVersion = {
// version: info.version,
// desc: info.releaseNotes as string,
// }
void handleGetVersionInfo().finally(() => {
versionInfo.isLatest = true
versionInfo.isUnknown = false
versionInfo.status = 'idle'
handleShowChangeLog()
})
})
const rUpdateError = onUpdateError((params) => {
clearUpdateTimeout()