diff --git a/src/bootstrap.js b/src/bootstrap.js index 33be2fa..8c2b192 100644 --- a/src/bootstrap.js +++ b/src/bootstrap.js @@ -43,7 +43,7 @@ const startCore = () => { bw.webContents.executeJavaScript(readFileSync(join(__dirname, 'mainWindow.js'), 'utf8') .replaceAll('', hash || 'custom') .replaceAll('', oaConfig.noTrack) - .replace('', (oaConfig.css ?? '').replaceAll('`', '\\`').replaceAll('\\', '\\\\'))); + .replace('', (oaConfig.css ?? '').replaceAll('\\', '\\\\').replaceAll('`', '\\`'))); if (oaConfig.js) bw.webContents.executeJavaScript(oaConfig.js); });