[MainWindow] Rename file

This commit is contained in:
Ducko 2022-03-29 18:26:41 +01:00
parent f1e5c62f55
commit 4b7c7430e5
2 changed files with 1 additions and 1 deletions

2
src/bootstrap.js vendored
View File

@ -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')
); );