From f3ad654d38e504e5ed36108f104a5050e6ee4f6a Mon Sep 17 00:00:00 2001 From: leejooy96 Date: Fri, 10 Jun 2022 17:15:18 +0900 Subject: [PATCH] fix incorrect import for electron remote --- src/main/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/index.js b/src/main/index.js index 666521a..806727b 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -3,7 +3,7 @@ import path from 'path' import MainRunner from './MainRunner' import { fileURLToPath } from 'url' import Constants from './utils/Constants' -import electronRemote from '@electron/remote/main' +import * as electronRemote from '@electron/remote/main' let mainWindow let crashWindow