1 2 3 4 5 6 7 8
startHooks.push(() => { info("MusicMgr", "Playing game" + i + ".mp3"); require('electron').ipcRenderer.send('newmusic', kresources.music['game' + i].file); }) if (location.search === "?online") { require('electron').ipcRenderer.send('newmusic', kresources.music['prepare'].file); }