diff --git a/src/main-process/appWindow.ts b/src/main-process/appWindow.ts index dc5b75bd..249f085d 100644 --- a/src/main-process/appWindow.ts +++ b/src/main-process/appWindow.ts @@ -45,7 +45,7 @@ export class AppWindow { x: storedX, y: storedY, webPreferences: { - preload: path.join(__dirname, '../build/preload.mjs'), + preload: path.join(__dirname, '../build/preload.cjs'), nodeIntegration: true, contextIsolation: true, webviewTag: true,