fix(spider): fix compiling error on start
This commit is contained in:
parent
e6276f06c2
commit
ea787ec358
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user