mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 10:31:47 +00:00
add back to front logger
This commit is contained in:
@ -68,6 +68,11 @@ document.addEventListener("DOMContentLoaded", () => {
|
|||||||
|
|
||||||
// Blocks the "Are You Still There?" popup by setting the last active time to Date.now every 15min
|
// Blocks the "Are You Still There?" popup by setting the last active time to Date.now every 15min
|
||||||
setInterval(() => window._lact = Date.now(), 900000);
|
setInterval(() => window._lact = Date.now(), 900000);
|
||||||
|
|
||||||
|
// setup back to front logger
|
||||||
|
ipcRenderer.on("log", (_event, log) => {
|
||||||
|
console.log(JSON.parse(log));
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
function listenForApiLoad() {
|
function listenForApiLoad() {
|
||||||
|
|||||||
Reference in New Issue
Block a user