From 7015667fd69f38710e8061f2f8c2133aeff5c885 Mon Sep 17 00:00:00 2001 From: choigawoon Date: Wed, 8 Nov 2023 16:32:05 +0900 Subject: [PATCH] Refactor initialization sequence for clarity Move the IPC Communication initialization block before the condition checking the development environment. This change ensures that IPCs are initialized before the main window starts loading its content, which may be crucial for ensuring that all IPC handlers are set up properly regardless of the environment. --- src/main/MainRunner.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/MainRunner.ts b/src/main/MainRunner.ts index 7f28c4ab..574acea2 100644 --- a/src/main/MainRunner.ts +++ b/src/main/MainRunner.ts @@ -40,15 +40,15 @@ export const createMainWindow = async (mainWindow: BrowserWindow): Promise