Revert "chore: bump electron@12.0.2"

This reverts commit 79a429d92d.
This commit is contained in:
deepak1556
2021-04-09 14:16:31 -07:00
parent c5dd09e2f5
commit f95b7e935f
34 changed files with 297 additions and 98 deletions

View File

@@ -23,17 +23,7 @@ ipcMain.handle('pickdir', async () => {
});
app.once('ready', () => {
window = new BrowserWindow({
width: 800,
height: 600,
webPreferences: {
nodeIntegration: true,
contextIsolation: false,
webviewTag: true,
enableWebSQL: false,
nativeWindowOpen: true
}
});
window = new BrowserWindow({ width: 800, height: 600, webPreferences: { nodeIntegration: true, webviewTag: true, enableWebSQL: false, nativeWindowOpen: true } });
window.setMenuBarVisibility(false);
window.loadURL(url.format({ pathname: path.join(__dirname, 'index.html'), protocol: 'file:', slashes: true }));
// window.webContents.openDevTools();