just the main window
This commit is contained in:
parent
6a53c26cc5
commit
c285f5bee1
2
main.js
2
main.js
@ -50,7 +50,7 @@ app.on('window-all-closed', function () {
|
|||||||
app.on('activate', function () {
|
app.on('activate', function () {
|
||||||
// On OS X it's common to re-create a window in the app when the
|
// On OS X it's common to re-create a window in the app when the
|
||||||
// dock icon is clicked and there are no other windows open.
|
// dock icon is clicked and there are no other windows open.
|
||||||
if (mainWindow === null) {
|
if (win === null) {
|
||||||
createWindow()
|
createWindow()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user