diff --git a/html/src/app.js b/html/src/app.js index 87f3cddd..776b9ad4 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -9670,7 +9670,11 @@ speechSynthesis.getVoices(); } configRepository.setString('VRCX_branch', $app.data.branch); } - if (!configRepository.getString('VRCX_lastVRCXVersion')) { + if (configRepository.getString('VRCX_lastVRCXVersion')) { + if (configRepository.getString('VRCX_lastVRCXVersion') < appVersion) { + configRepository.setString('VRCX_lastVRCXVersion', appVersion); + } + } else { configRepository.setString('VRCX_lastVRCXVersion', appVersion); } if (!configRepository.getInt('VRCX_maxTableSize')) { diff --git a/html/src/index.pug b/html/src/index.pug index 1383fa8a..9f964708 100644 --- a/html/src/index.pug +++ b/html/src/index.pug @@ -910,7 +910,7 @@ html span.name TTS Voice el-dropdown(@command="(voice) => changeTTSVoice(voice)" trigger="click" size="small") el-button(size="mini" :disabled="notificationTTS === 'Never'") - span {{ TTSvoices[notificationTTSVoice].name }} #[i.el-icon-arrow-down.el-icon--right] + span {{ getTTSVoiceName() }} #[i.el-icon-arrow-down.el-icon--right] el-dropdown-menu(#default="dropdown") el-dropdown-item(v-if="voice" v-for="(voice, index) in TTSvoices" :key="index" v-text="voice.name" :command="index") div.options-container