1
0

Add IPC handlers for minutes commit threshold

This commit is contained in:
2025-05-25 21:50:04 +02:00
parent 578fdfca1a
commit 6647486046

View File

@@ -1260,6 +1260,10 @@ function buildTrayMenu() {
store.set('intelligentCommitThreshold', value);
});
ipcMain.handle('get-minutes-commit-threshold', () => store.get('minutesCommitThreshold'));
ipcMain.handle('set-minutes-commit-threshold', (_e, value) => {
store.set('minutesCommitThreshold', value);
});
ipcMain.handle('get-autostart', () => store.get('autostart'));
ipcMain.handle('set-autostart', (_e, enabled) => {