From 9712f52e63d0ac6a19ca83cd94f5e79bb98b902d Mon Sep 17 00:00:00 2001 From: AvaLilac Date: Thu, 26 Feb 2026 19:30:18 -0500 Subject: [PATCH] Update main.ts Signed-off-by: AvaLilac --- src/main.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main.ts b/src/main.ts index d020489..a0966d3 100644 --- a/src/main.ts +++ b/src/main.ts @@ -39,9 +39,14 @@ const loadInject = () => { const injectPath = path.join(__dirname, "inject.js"); const injectCode = fs.readFileSync(injectPath, "utf8"); await mainWindow.webContents.executeJavaScript(injectCode, true); + const favPath = path.join(__dirname, "aviafavsystem.js"); const favCode = fs.readFileSync(favPath, "utf8"); await mainWindow.webContents.executeJavaScript(favCode, true); + + const pluginPath = path.join(__dirname, "pluginsupport.js"); + const pluginCode = fs.readFileSync(pluginPath, "utf8"); + await mainWindow.webContents.executeJavaScript(pluginCode, true); } catch {} }); };