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)
|
||||
return
|
||||
|
||||
if(!BrowserWindow)
|
||||
return
|
||||
|
||||
if(mainWindow)
|
||||
mainWindow.hide()
|
||||
|
||||
|
Reference in New Issue
Block a user