[Splash > Preload] Remove openUrl as unused
This commit is contained in:
		
							parent
							
								
									22df92b559
								
							
						
					
					
						commit
						47fa7e40f3
					
				
					 1 changed files with 0 additions and 3 deletions
				
			
		|  | @ -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') | ||||
| }); | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue