[MainWindow] Don't replace channel as unused
This commit is contained in:
parent
029123e0ac
commit
ed731b6153
1 changed files with 0 additions and 1 deletions
1
src/bootstrap.js
vendored
1
src/bootstrap.js
vendored
|
@ -41,7 +41,6 @@ const startCore = () => {
|
||||||
const [ channel, hash ] = oaVersion.split('-'); // Split via -
|
const [ channel, hash ] = oaVersion.split('-'); // Split via -
|
||||||
|
|
||||||
bw.webContents.executeJavaScript(readFileSync(join(__dirname, 'mainWindow.js'), 'utf8')
|
bw.webContents.executeJavaScript(readFileSync(join(__dirname, 'mainWindow.js'), 'utf8')
|
||||||
.replaceAll('<channel>', channel)
|
|
||||||
.replaceAll('<hash>', hash || 'custom'));
|
.replaceAll('<hash>', hash || 'custom'));
|
||||||
|
|
||||||
if (oaConfig.js) bw.webContents.executeJavaScript(oaConfig.js);
|
if (oaConfig.js) bw.webContents.executeJavaScript(oaConfig.js);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue