[Splash > Preload] Source tweaks
This commit is contained in:
parent
07058a6455
commit
b01660d49f
1 changed files with 1 additions and 3 deletions
|
@ -6,9 +6,7 @@ const urlParams = new URLSearchParams(window.location.search);
|
|||
const oaConfig = JSON.parse(urlParams.get('oaConfig'));
|
||||
|
||||
contextBridge.exposeInMainWorld('DiscordSplash', {
|
||||
signalReady: () => {
|
||||
ipcRenderer.send('DISCORD_SPLASH_SCREEN_READY');
|
||||
},
|
||||
signalReady: () => ipcRenderer.send('DISCORD_SPLASH_SCREEN_READY'),
|
||||
|
||||
onStateUpdate: callback => {
|
||||
ipcRenderer.on('DISCORD_SPLASH_UPDATE_STATE', (_, state) => {
|
||||
|
|
Loading…
Reference in a new issue