[MainWindow] Don't replace channel as unused

pull/66/head
Oj 2 years ago
parent 029123e0ac
commit ed731b6153

1
src/bootstrap.js vendored

@ -41,7 +41,6 @@ const startCore = () => {
const [ channel, hash ] = oaVersion.split('-'); // Split via -
bw.webContents.executeJavaScript(readFileSync(join(__dirname, 'mainWindow.js'), 'utf8')
.replaceAll('<channel>', channel)
.replaceAll('<hash>', hash || 'custom'));
if (oaConfig.js) bw.webContents.executeJavaScript(oaConfig.js);

Loading…
Cancel
Save