From 87d5f28ed148874d40da092bdbd4b218970ea70a 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=C2=82=C3=B0=C2=8Eg=C2=82?= =?UTF-8?q?=C2=A4=C2=82=E6=82=A4=C2=82=C3=89?= 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");