新增是否在更新版本的首次启动时显示更新日志弹窗设置

pull/1211/head
lyswhut 2023-02-05 20:40:30 +08:00
parent dd5bffe071
commit 07899327f1
8 changed files with 16 additions and 0 deletions

View File

@ -1,8 +1,12 @@
由于软件内功能在设计时只考虑简单便捷性,是否对新手友好并不是我们考虑的重点,功能的新增、变更会在更新日志中注明,不会在软件内做指引提示,
因此为了更愉快地使用本软件,我们建议在使用新版本时阅读一遍更新日志以了解软件的变更情况,同时若遇到问题可以去阅读常见问题找解决方案
### 新增
- 新增桌面歌词设置字体加粗设置,可以到设置-桌面歌词设置-加粗字体修改
- 新增是否自动下载更新设置,默认开启,可以去设置-软件更新更改
- 新增当前版本更新日志显示弹窗(建议大家阅读更新日志以了解当前版本的变化),在更新版本后将自动弹出
- 新增是否在更新版本的首次启动时显示更新日志弹窗设置,默认开启,可以去设置-软件更新更改
- 添加wy、tx源逐字歌词的支持
### 优化

View File

@ -17,6 +17,7 @@ const defaultSetting: LX.AppSetting = {
'common.controlBtnPosition': process.platform === 'darwin' ? 'left' : 'right',
'common.playBarProgressStyle': 'mini',
'common.tryAutoUpdate': true,
'common.showChangeLog': true,
'player.startupAutoPlay': false,
'player.togglePlayMethod': 'listLoop',

View File

@ -73,6 +73,11 @@ declare global {
*/
'common.tryAutoUpdate': boolean
/**
*
*/
'common.showChangeLog': boolean
/**
*
*/

View File

@ -467,6 +467,7 @@
"setting__update_new_version": "Found a new version, hurry up and update~🚀🚀",
"setting__update_open_version_modal_btn": "open update window",
"setting__update_progress": "state:",
"setting__update_show_change_log": "Show changelog on first boot after version update",
"setting__update_try_auto_update": "Attempt to download updates automatically when a new version is found",
"setting__update_unknown": "Unknown",
"song_list": "Playlists",

View File

@ -469,6 +469,7 @@
"setting__update_new_version": "发现新版本,赶快去更新吧~🚀🚀",
"setting__update_open_version_modal_btn": "打开更新窗口",
"setting__update_progress": "状态:",
"setting__update_show_change_log": "更新版本后的首次启动时显示更新日志",
"setting__update_try_auto_update": "发现新版本时尝试自动下载更新",
"setting__update_unknown": "未知",
"song_list": "歌单",

View File

@ -468,6 +468,7 @@
"setting__update_new_version": "發現新版本,趕快去更新吧~🚀🚀",
"setting__update_open_version_modal_btn": "打開更新窗口",
"setting__update_progress": "狀態:",
"setting__update_show_change_log": "更新版本後的首次啟動時顯示更新日誌",
"setting__update_try_auto_update": "發現新版本時嘗試自動下載更新",
"setting__update_unknown": "未知",
"song_list": "歌單",

View File

@ -46,6 +46,7 @@ export default () => {
void getLastStartInfo().then((version) => {
if (version == process.versions.app) return
saveLastStartInfo(process.versions.app)
if (!appSetting['common.showChangeLog']) return
if (version) {
if (compareVer(process.versions.app, version) < 0) {
void dialog({

View File

@ -3,6 +3,8 @@ dt#update {{$t('setting__update')}}
dd
.gap-top
base-checkbox(id="setting__update_tryAutoUpdate" :modelValue="appSetting['common.tryAutoUpdate']" @update:modelValue="updateSetting({'common.tryAutoUpdate': $event})" :label="$t('setting__update_try_auto_update')")
.gap-top
base-checkbox(id="setting__update_showChangeLog" :modelValue="appSetting['common.showChangeLog']" @update:modelValue="updateSetting({'common.showChangeLog': $event})" :label="$t('setting__update_show_change_log')")
.gap-top
p.small
| {{$t('setting__update_latest_label')}}{{versionInfo.newVersion ? versionInfo.newVersion.version : $t('setting__update_unknown')}}