Archived
Fix electron
This commit is contained in:
1 parent
3a092a2b97
commit
9979c6ad75
1 file changed
-2
@@ -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