1
0

auto-git:

[change] index.html
 [change] main.js
 [change] preload.js
 [change] renderer.js
 [change] settings.html
This commit is contained in:
2025-05-24 08:46:46 +02:00
parent d6eacb4541
commit ecd043d94c
5 changed files with 117 additions and 104 deletions

View File

@@ -25,6 +25,8 @@ contextBridge.exposeInMainWorld('electronAPI', {
showFolderContextMenu: folderPath => ipcRenderer.send('show-folder-context-menu', folderPath),
setMonitoring: (folderObj, monitoring) => ipcRenderer.invoke('set-monitoring', folderObj.path, monitoring),
getFolderTree: (folderPath) => ipcRenderer.invoke('get-folder-tree', folderPath),
getIntelligentCommitThreshold: () => ipcRenderer.invoke('get-intelligent-commit-threshold'),
setIntelligentCommitThreshold: value => ipcRenderer.invoke('set-intelligent-commit-threshold', value),
});
ipcRenderer.on('repo-updated', (_e, folder) => {