mirror of
https://github.com/saphid/frame-control.git
synced 2026-10-06 05:02:50 +02:00
feat(ui): add family controls, casting and native notifications
This commit is contained in:
1 parent
522c46ed6f
commit
0622afcae9
11 files changed
+316
-7
No files matched your search
@@ -8,6 +8,7 @@
|
||||
const { contextBridge, ipcRenderer, webUtils } = require("electron");
|
||||
|
||||
contextBridge.exposeInMainWorld("frameApp", {
|
||||
notify: (message, request) => ipcRenderer.invoke("comfort:notify", message, request),
|
||||
readClipboard: () => ipcRenderer.invoke("clipboard:read"),
|
||||
setUpConnection: () => ipcRenderer.invoke("connection:setup"),
|
||||
pathForFile: (file) => { try { return webUtils.getPathForFile(file) || ""; } catch { return ""; } },
|
||||
|
||||
Reference in new issue
Block a user