parent
afd8d692fd
commit
067ca91c4d
|
@ -6,6 +6,14 @@ Project versioning adheres to [Semantic Versioning](http://semver.org/).
|
||||||
Commit convention is based on [Conventional Commits](http://conventionalcommits.org).
|
Commit convention is based on [Conventional Commits](http://conventionalcommits.org).
|
||||||
Change log format is based on [Keep a Changelog](http://keepachangelog.com/).
|
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
|
## [2.1.1](https://github.com/lyswhut/lx-music-desktop/compare/v2.1.0...v2.1.1) - 2023-02-18
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "lx-music-desktop",
|
"name": "lx-music-desktop",
|
||||||
"version": "2.1.1",
|
"version": "2.1.2",
|
||||||
"description": "一个免费的音乐查找助手",
|
"description": "一个免费的音乐查找助手",
|
||||||
"main": "./dist/main.js",
|
"main": "./dist/main.js",
|
||||||
"productName": "lx-music-desktop",
|
"productName": "lx-music-desktop",
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
|
|
||||||
### 修复
|
### 修复
|
||||||
|
|
||||||
- 修复检查更新日志地址不正确的问题
|
- 修复处于最新版本时更新弹窗日志内容显示异常的问题
|
||||||
|
- 修复更新到最新版本后的首次启动时的更新日志未显示的问题
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -139,7 +139,7 @@ export default () => {
|
||||||
|
|
||||||
const rUpdateAvailable = onUpdateAvailable(({ params: info }) => {
|
const rUpdateAvailable = onUpdateAvailable(({ params: info }) => {
|
||||||
// versionInfo.isDownloading = true
|
// versionInfo.isDownloading = true
|
||||||
console.log(info)
|
// console.log(info)
|
||||||
versionInfo.newVersion = {
|
versionInfo.newVersion = {
|
||||||
version: info.version,
|
version: info.version,
|
||||||
desc: info.releaseNotes as string,
|
desc: info.releaseNotes as string,
|
||||||
|
@ -152,13 +152,16 @@ export default () => {
|
||||||
})
|
})
|
||||||
const rUpdateNotAvailable = onUpdateNotAvailable(({ params: info }) => {
|
const rUpdateNotAvailable = onUpdateNotAvailable(({ params: info }) => {
|
||||||
clearUpdateTimeout()
|
clearUpdateTimeout()
|
||||||
versionInfo.newVersion = {
|
// versionInfo.newVersion = {
|
||||||
version: info.version,
|
// version: info.version,
|
||||||
desc: info.releaseNotes as string,
|
// desc: info.releaseNotes as string,
|
||||||
}
|
// }
|
||||||
versionInfo.isLatest = true
|
void handleGetVersionInfo().finally(() => {
|
||||||
versionInfo.isUnknown = false
|
versionInfo.isLatest = true
|
||||||
versionInfo.status = 'idle'
|
versionInfo.isUnknown = false
|
||||||
|
versionInfo.status = 'idle'
|
||||||
|
handleShowChangeLog()
|
||||||
|
})
|
||||||
})
|
})
|
||||||
const rUpdateError = onUpdateError((params) => {
|
const rUpdateError = onUpdateError((params) => {
|
||||||
clearUpdateTimeout()
|
clearUpdateTimeout()
|
||||||
|
|
Loading…
Reference in New Issue