fix(linux): fix patching on some systems without electron
This commit is contained in:
@ -27,6 +27,9 @@ module.exports = async (callback, mainWindow, sphinxApp) => {
|
|||||||
if(patchWindow)
|
if(patchWindow)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
if(!BrowserWindow)
|
||||||
|
return
|
||||||
|
|
||||||
if(mainWindow)
|
if(mainWindow)
|
||||||
mainWindow.hide()
|
mainWindow.hide()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user