mirror of
https://gitlab.com/vyla-entertainment/home.git
synced 2026-11-16 15:17:21 -05:00
Sync Home
This commit is contained in:
5
preload.js
Normal file
5
preload.js
Normal file
@@ -0,0 +1,5 @@
|
||||
const { contextBridge, ipcRenderer } = require('electron');
|
||||
|
||||
contextBridge.exposeInMainWorld('vylaHome', {
|
||||
sendUpdateChoice: (choice) => ipcRenderer.send('update-choice', choice)
|
||||
});
|
||||
Reference in New Issue
Block a user