1
0

Remove redundant cat speech event listeners

This commit is contained in:
2025-05-26 03:34:00 +02:00
parent 3aebed1a5f
commit 280154c537

View File

@@ -668,12 +668,6 @@ folders.forEach(folderObj => {
nextChar(); nextChar();
}; };
window.electronAPI && window.electronAPI.onCatSay &&
window.electronAPI.onCatSay((_, msg) => speakToCat(msg));
// oder mit
window.require && require('electron').ipcRenderer.on('cat-say', (_, msg) => speakToCat(msg));
/* /*
const slot = document.getElementById('catSlot'); const slot = document.getElementById('catSlot');
const cat = new AnimeCat(slot, { const cat = new AnimeCat(slot, {