Fix electron
This commit is contained in:
@@ -82,8 +82,6 @@ function createWindow() {
|
|||||||
app.dock.hide();
|
app.dock.hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
mainWindow.openDevTools();
|
|
||||||
|
|
||||||
// and load the index.html of the app.
|
// and load the index.html of the app.
|
||||||
const startUrl = process.env.ELECTRON_START_URL || url.format({
|
const startUrl = process.env.ELECTRON_START_URL || url.format({
|
||||||
pathname: path.join(__dirname, '../build/index.html'),
|
pathname: path.join(__dirname, '../build/index.html'),
|
||||||
|
|||||||
Reference in New Issue
Block a user