diff --git a/src/splash/preload.js b/src/splash/preload.js index ab15b9d..38c6c2b 100644 --- a/src/splash/preload.js +++ b/src/splash/preload.js @@ -1,13 +1,10 @@ const { contextBridge, ipcRenderer } = require('electron'); -const { saferShellOpenExternal } = require('../utils/securityUtils'); - contextBridge.exposeInMainWorld('DiscordSplash', { signalReady: () => ipcRenderer.send('DISCORD_SPLASH_SCREEN_READY'), onStateUpdate: callback => ipcRenderer.on('DISCORD_SPLASH_UPDATE_STATE', (_, state) => callback(state)), - openUrl: saferShellOpenExternal, quitDiscord: () => ipcRenderer.send('DISCORD_SPLASH_SCREEN_QUIT') }); \ No newline at end of file