just the main window

This commit is contained in:
Damillora 2017-07-04 00:06:51 +07:00
parent 6a53c26cc5
commit c285f5bee1
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ app.on('window-all-closed', function () {
app.on('activate', function () {
// 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.
if (mainWindow === null) {
if (win === null) {
createWindow()
}
})