just test code

This commit is contained in:
MathieuG-P
2022-05-22 22:54:44 +02:00
parent a4c482277f
commit 40ea677abf
+7 -3
View File
@@ -154,9 +154,13 @@ app
}) })
.catch(console.log); .catch(console.log);
// setInterval(() => { // setTimeout(() => {
// console.log("allo"); // console.log("allo");
// mainWindow.webContents.send(`bs-download.${DownloadEventType.GUARD_CODE}`); // mainWindow.webContents.send(`bs-download.${DownloadEventType.GUARD_CODE}`);
// }, 5000) // }, 2000)
console.log("*** RELOAD MAIN ***"); // console.log("*** RELOAD MAIN ***");
// const p = "aaa[Guard]|DFSDIOdfpsijd|[ERROR]|zefrjpezjf[432]zeijofgiz";
// console.log(p.match(/(?:\[(.*?)\])\|(?:\[(.*?)\]\|)?(.*?)(?=$|\[)/gm));
// console.log("c'est : "+(p.match(/(?:\[(.*?)\])\|(?:\[(.*?)\]\|)?(.*?)(?=$|\[)/gm)[0].split("|")[0] === "[Guard]"))