新增是否在更新版本的首次启动时显示更新日志弹窗设置
This commit is contained in:
@@ -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({
|
||||
|
||||
@@ -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')}}
|
||||
|
||||
Reference in New Issue
Block a user