From f8b0b99e35516c2b3074e6949eef56e5498c4623 Mon Sep 17 00:00:00 2001 From: filtered <176114999+webfiltered@users.noreply.github.com> Date: Tue, 17 Dec 2024 11:37:12 +1100 Subject: [PATCH] Fix invalid filename --- src/main-process/appWindow.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,