[MainWindow] Rename file
This commit is contained in:
parent
f1e5c62f55
commit
4b7c7430e5
|
@ -61,7 +61,7 @@ const startCore = () => {
|
||||||
const [ channel, hash ] = oaVersion.split('-'); // Split via -
|
const [ channel, hash ] = oaVersion.split('-'); // Split via -
|
||||||
|
|
||||||
bw.webContents.executeJavaScript(
|
bw.webContents.executeJavaScript(
|
||||||
readFileSync(join(__dirname, 'mainWindowInject.js'), 'utf8')
|
readFileSync(join(__dirname, 'mainWindow.js'), 'utf8')
|
||||||
.replaceAll('<channel>', channel)
|
.replaceAll('<channel>', channel)
|
||||||
.replaceAll('<hash>', hash || 'custom')
|
.replaceAll('<hash>', hash || 'custom')
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue