|
|
@@ -28,9 +28,6 @@ function createWindow() {
|
|
|
shell.openExternal(details.url)
|
|
|
return { action: "deny" }
|
|
|
})
|
|
|
- mainWindow.webContents.on('did-finish-load', () => {
|
|
|
- mainWindow.webContents.openDevTools();
|
|
|
- });
|
|
|
|
|
|
// HMR for renderer base on electron-vite cli.
|
|
|
// Load the remote URL for development or the local html file for production.
|