mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
just test code
This commit is contained in:
+7
-3
@@ -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]"))
|
||||||
Reference in New Issue
Block a user