fix(spider): fix compiling error on start

This commit is contained in:
Alexey Kasyanchuk 2018-05-29 14:00:48 +03:00
parent e6276f06c2
commit ea787ec358

View File

@ -214,7 +214,7 @@ app.on("ready", () => {
if (env.name === "production" && !portative) { autoUpdater.checkForUpdates() }
spider = spiderCall((...data) => {
spider = new spiderCall((...data) => {
if(mainWindow)
mainWindow.webContents.send(...data)
}, (message, callback) => {