From 4b7c7430e5ba6f65e94456654edf4c9bd138813a Mon Sep 17 00:00:00 2001 From: Oj Date: Tue, 29 Mar 2022 18:26:41 +0100 Subject: [PATCH] [MainWindow] Rename file --- src/bootstrap.js | 2 +- src/{mainWindowInject.js => mainWindow.js} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename src/{mainWindowInject.js => mainWindow.js} (100%) diff --git a/src/bootstrap.js b/src/bootstrap.js index c2461d2..157dc5e 100644 --- a/src/bootstrap.js +++ b/src/bootstrap.js @@ -61,7 +61,7 @@ const startCore = () => { const [ channel, hash ] = oaVersion.split('-'); // Split via - bw.webContents.executeJavaScript( - readFileSync(join(__dirname, 'mainWindowInject.js'), 'utf8') + readFileSync(join(__dirname, 'mainWindow.js'), 'utf8') .replaceAll('', channel) .replaceAll('', hash || 'custom') ); diff --git a/src/mainWindowInject.js b/src/mainWindow.js similarity index 100% rename from src/mainWindowInject.js rename to src/mainWindow.js