From 47fa7e40f32e36e144304c246f2bd50b816ea6d0 Mon Sep 17 00:00:00 2001 From: CanadaHonk <19228318+CanadaHonk@users.noreply.github.com> Date: Tue, 8 Feb 2022 13:12:28 +0000 Subject: [PATCH] [Splash > Preload] Remove openUrl as unused --- src/splash/preload.js | 3 --- 1 file changed, 3 deletions(-) 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