From ed731b6153c7d2c736fc332bde31bdf3b5ae761e Mon Sep 17 00:00:00 2001 From: Oj Date: Thu, 5 May 2022 19:59:52 +0100 Subject: [PATCH] [MainWindow] Don't replace channel as unused --- src/bootstrap.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/bootstrap.js b/src/bootstrap.js index 4ce0187..99778c2 100644 --- a/src/bootstrap.js +++ b/src/bootstrap.js @@ -41,7 +41,6 @@ const startCore = () => { const [ channel, hash ] = oaVersion.split('-'); // Split via - bw.webContents.executeJavaScript(readFileSync(join(__dirname, 'mainWindow.js'), 'utf8') - .replaceAll('', channel) .replaceAll('', hash || 'custom')); if (oaConfig.js) bw.webContents.executeJavaScript(oaConfig.js);