From 93e488e5f567fa7e44dfe0af8de0c6ef0dbbd19c Mon Sep 17 00:00:00 2001 From: leejooy96 Date: Thu, 7 Sep 2023 15:08:21 +0900 Subject: [PATCH] pack: add async await for install devtool extension --- src/main/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/index.ts b/src/main/index.ts index 46b3ec7..0b97e6f 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -7,9 +7,9 @@ import { installExtension, VUEJS_DEVTOOLS } from 'electron-extension-installer' let mainWindow let errorWindow -app.on('ready', () => { +app.on('ready', async () => { if (Constants.IS_DEV_ENV) { - installExtension(VUEJS_DEVTOOLS, { + await installExtension(VUEJS_DEVTOOLS, { loadExtensionOptions: { allowFileAccess: true }