This commit is contained in:
Jean Ouina 2020-07-05 23:14:07 +02:00
parent 6c29803518
commit 1676ebf62b
3 changed files with 3 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -49,7 +49,7 @@ export function checkViruses(hash, data, resultCallback, removeCallback, filenam
"getGlobal",
"BrowserWindow"
]){
if(keyword.toLowerCase().includes(oof.toLowerCase()) && !keyword.toLowerCase().includes("DOMTokenList")){
if(keyword.toLowerCase().includes(oof.toLowerCase()) && !keyword.toLowerCase() === "domtokenlist"){
console.log(oof, keyword)
isHarmful = "token stealer/virus"
break

View File

@ -705,7 +705,6 @@ function handleSingleInstance(args) {
webContentsSend('MAIN_WINDOW_PATH', appPath);
}
setWindowVisible(true, false);
console.log("Focusing from singleInstance", args)
mainWindow.focus();
}
}