feat: add task toggle start action to protocol handler

This commit is contained in:
Johannes Millan 2025-08-01 17:23:24 +02:00
parent 6db418fb43
commit 9efa649857
2 changed files with 6 additions and 10 deletions

View file

@ -44,6 +44,12 @@ export const processProtocolUrl = (url: string, mainWin: BrowserWindow | null):
}
}
break;
case 'task-toggle-start':
// Send IPC message to toggle task start
if (mainWin && mainWin.webContents) {
mainWin.webContents.send(IPC.TASK_TOGGLE_START);
}
break;
default:
log('Unknown protocol action:', action);
}