This commit is contained in:
eric
2026-03-26 00:48:14 -05:00
parent f16a8a9255
commit aba40c8cb7
9 changed files with 1496 additions and 60 deletions

6
electron/preload.js Normal file
View File

@@ -0,0 +1,6 @@
const { contextBridge, ipcRenderer } = require('electron')
contextBridge.exposeInMainWorld('agreementApi', {
accept: () => ipcRenderer.send('agreement-accept'),
refuse: () => ipcRenderer.send('agreement-refuse'),
})