diff --git a/src/components/MenuBar.vue b/src/components/MenuBar.vue index f7f08bbfc1..5101266494 100644 --- a/src/components/MenuBar.vue +++ b/src/components/MenuBar.vue @@ -18,7 +18,8 @@ {{ (isEdited ? "*" : "") + (projectName !== undefined ? projectName + " - " : "") + - "VOICEVOX" + "VOICEVOX" + + (currentVersion ? " - Ver. " + currentVersion : "") }} @@ -82,7 +83,10 @@ export default defineComponent({ setup() { const store = useStore(); const $q = useQuasar(); - + const currentVersion = ref(""); + window.electron.getAppInfos().then((obj) => { + currentVersion.value = obj.version; + }); const uiLocked = computed(() => store.getters.UI_LOCKED); const menubarLocked = computed(() => store.getters.MENUBAR_LOCKED); const projectName = computed(() => store.getters.PROJECT_NAME); @@ -350,6 +354,7 @@ export default defineComponent({ }); return { + currentVersion, uiLocked, menubarLocked, projectName,