This commit is contained in:
2025-10-19 21:49:57 +09:00
commit 62046f6c8d
6 changed files with 1911 additions and 0 deletions

6
preload.js Normal file
View File

@@ -0,0 +1,6 @@
// preload.js
const { contextBridge, ipcRenderer } = require('electron');
contextBridge.exposeInMainWorld('agentAPI', {
getEmployeeId: () => ipcRenderer.invoke('get-employee-id')
});