From 71ad3cc63913d13175fa0b641859fe68be8f18a5 Mon Sep 17 00:00:00 2001 From: raa0121 Date: Thu, 9 Jun 2022 21:38:13 +0900 Subject: [PATCH] =?UTF-8?q?showQuestionDialog=20=E3=82=92=E4=BD=BF?= =?UTF-8?q?=E3=81=86=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/ui.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/store/ui.ts b/src/store/ui.ts index b8fcc3f932..47555a13dd 100644 --- a/src/store/ui.ts +++ b/src/store/ui.ts @@ -249,10 +249,12 @@ export const uiStore: VoiceVoxStoreOptions = commit("LOCK_UI"); commit("LOCK_MENUBAR"); - const result: number = await window.electron.showInfoDialog({ + const result: number = await window.electron.showQuestionDialog({ + type: "info", title: "アップデートチェック", message: "アップデートチェックを行います。\nよろしいですか?", buttons: ["はい", "いいえ"], + cancelId: 1, }); commit("UNLOCK_UI"); commit("UNLOCK_MENUBAR");